#include <future.hpp>
Public Member Functions | |
promise () | |
~promise () | |
promise (BOOST_THREAD_RV_REF(promise) rhs) BOOST_NOEXCEPT | |
promise & | operator= (BOOST_THREAD_RV_REF(promise) rhs) BOOST_NOEXCEPT |
void | swap (promise &other) |
unique_future< void > | get_future () |
void | set_value () |
void | set_exception (boost::exception_ptr p) |
template<typename E > | |
void | set_exception (E ex) |
void | set_value_at_thread_exit () |
void | set_exception_at_thread_exit (exception_ptr e) |
template<typename E > | |
void | set_exception_at_thread_exit (E ex) |
template<typename F > | |
void | set_wait_callback (F f) |
|
inline |
|
inline |
References boost::lock().
|
inline |
References boost::shared_ptr< T >::reset().
|
inline |
References boost::shared_ptr< T >::get(), and boost::throw_exception().
Referenced by boost::make_shared_future(), and boost::executors::serial_executor::try_executing_one().
|
inline |
References boost::shared_ptr< T >::reset().
|
inline |
References boost::lock(), and boost::throw_exception().
|
inline |
References boost::promise< R >::set_exception().
|
inline |
References boost::shared_ptr< T >::get(), and boost::throw_exception().
|
inline |
|
inline |
References boost::lock(), and boost::throw_exception().
|
inline |
References boost::shared_ptr< T >::get(), and boost::throw_exception().
|
inline |
|
inline |
References boost::shared_ptr< T >::swap(), and boost::swap.