41 #ifndef Core_Thread_FutureValue_h
42 #define Core_Thread_FutureValue_h
44 #include <Core/Thread/Legacy/Legacy/Semaphore.h>
45 #include <Core/Thread/Legacy/Legacy/Thread.h>
90 void send(
const Item& reply);
104 : name(name), sema(
"FutureValue semaphore", 0)
Item receive()
Definition: FutureValue.h:115
~FutureValue()
Destroy the object.
Definition: FutureValue.h:109
static void couldBlockDone(int restore)
const char * name[]
Definition: BoostGraphExampleTests.cc:87
void send(const Item &reply)
Send the reply to the waiting thread.
Definition: FutureValue.h:125
Definition: Semaphore.h:67
FutureValue(const char *name)
Definition: FutureValue.h:103
static int couldBlock(const char *why)
Definition: FutureValue.h:71