NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
blocking.h File Reference

Typed refusals of a Program call that would block a thread that must not block (#557). More...

#include <neograph/api.h>
#include <neograph/graph/configuration_failure.h>
#include <stdexcept>
#include <string>
Include dependency graph for blocking.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  neograph::program::ProgramBlockingCallRefused
 Thrown by a synchronous call that would wait for a Program on a thread that cannot wait for it: the executor of RuntimeConfig::executor is pumped by a host's event loop, the build has no threads, or the call is made from a thread that runs that executor. More...
 
class  neograph::program::ProgramExecutorRequired
 Thrown by the ProgramRuntime constructor in a build without threads (NEOGRAPH_THREADS=OFF) when RuntimeConfig::executor is not set: the runtime's own pools need threads that this build does not have. More...
 

Detailed Description

Typed refusals of a Program call that would block a thread that must not block (#557).

Definition in file blocking.h.