hamcast
Version 0.7
|
#include <future.hpp>
Public Member Functions | |
T & | get () |
void | set (const T &val) |
Describes a simple synchronous future value.
T& hamcast::util::future< T >::get | ( | ) |
Read the produced value.
void hamcast::util::future< T >::set | ( | const T & | val | ) |
Set the value to val
and wakeup waiting consumer thread.
val | The produced value. |