#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< R > | get_future () |
void | set_value (source_reference_type r) |
void | set_value (rvalue_source_type r) |
void | set_exception (boost::exception_ptr p) |
template<typename E > | |
void | set_exception (E ex) |
void | set_value_at_thread_exit (source_reference_type r) |
void | set_value_at_thread_exit (BOOST_THREAD_RV_REF(R) r) |
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 |
|
inline |
|
inline |
|
inline |
References boost::promise< R >::set_exception().
|
inline |
References boost::throw_exception().
Referenced by boost::promise< R >::set_exception_at_thread_exit(), and boost::promise< void >::set_exception_at_thread_exit().
|
inline |
|
inline |
References boost::lock(), and boost::throw_exception().
|
inline |
References boost::lock(), boost::move(), and boost::throw_exception().
|
inline |
References boost::throw_exception().
|
inline |
References boost::move(), and boost::throw_exception().
|
inline |
|
inline |
References boost::swap.