SimGrid
3.21
Versatile Simulation of Distributed Systems
|
#include <future.hpp>
Inherits simgrid::kernel::FutureStateBase.
Public Member Functions | |
void | set_value (T &value) |
T & | get () |
![]() | |
FutureStateBase (FutureStateBase const &)=delete | |
FutureStateBase & | operator= (FutureStateBase const &)=delete |
void | schedule (simgrid::xbt::Task< void()> &&job) |
void | set_exception (std::exception_ptr exception) |
void | set_continuation (simgrid::xbt::Task< void()> &&continuation) |
FutureStatus | get_status () const |
bool | is_ready () const |
Additional Inherited Members | |
![]() | |
FutureStateBase ()=default | |
~FutureStateBase ()=default | |
void | set_ready () |
Set the future as ready and trigger the continuation. More... | |
void | resolve () |
Set the future as done and raise an exception if any. More... | |
|
inline |
|
inline |