SCIRun
5.0
|
#include <FutureValue.h>
Public Member Functions | |
FutureValue (const char *name) | |
~FutureValue () | |
Destroy the object. More... | |
Item | receive () |
void | send (const Item &reply) |
Send the reply to the waiting thread. More... | |
FutureValue | ( | const char * | name | ) |
Create the FutureValue object. name should be a static string which describes the primitive for debugging purposes.
~FutureValue | ( | ) |
Destroy the object.
Item receive | ( | ) |
Wait until the reply is sent by anothe thread, then return that reply.
void send | ( | const Item & | reply | ) |
Send the reply to the waiting thread.