FutureStateBase(FutureStateBase const&) = delete;
FutureStateBase& operator=(FutureStateBase const&) = delete;
FutureStateBase(FutureStateBase const&) = delete;
FutureStateBase& operator=(FutureStateBase const&) = delete;
* You are not expected to use them directly but to create them
* implicitely through a @ref simgrid::kernel::Promise.
* Alternatively kernel operations could inherit or contain FutureState
* You are not expected to use them directly but to create them
* implicitely through a @ref simgrid::kernel::Promise.
* Alternatively kernel operations could inherit or contain FutureState
void operator()(Future<T> future)
{
simgrid::xbt::setPromise(promise_, future);
void operator()(Future<T> future)
{
simgrid::xbt::setPromise(promise_, future);
*
* * there is no thread synchronization (atomic, mutex, condition variable,
* etc.) because everything happens in the SimGrid event loop;
*
* * there is no thread synchronization (atomic, mutex, condition variable,
* etc.) because everything happens in the SimGrid event loop;
* completely single-threaded so blocking would be a deadlock.
* After the call, the future becomes invalid.
*
* completely single-threaded so blocking would be a deadlock.
* After the call, the future becomes invalid.
*