Public Types | |
typedef retainable_ptr < promise_base > | ptr |
Public Member Functions | |
void | set_task (task *t) |
void | cancel () |
virtual bool | ready () const =0 |
Protected Member Functions | |
void | enqueue_thread () |
void | wait (const microseconds &timeout_us) |
void | wait_until (const system_clock::time_point &timeout_us) |
void | notify () |
virtual void | set_timeout ()=0 |
virtual void | set_exception (const boost::exception_ptr &e)=0 |
Friends | |
class | thread |
class | thread_private |
Definition at line 19 of file future.hpp.