hpx/lcos_local/trigger.hpp
hpx/lcos_local/trigger.hpp#
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace hpx
-
namespace lcos
-
namespace local
-
template<typename Mutex = hpx::spinlock>
struct base_trigger# Public Functions
-
inline base_trigger()#
-
inline base_trigger(base_trigger &&rhs) noexcept#
-
inline base_trigger &operator=(base_trigger &&rhs) noexcept#
-
inline hpx::future<void> get_future(std::size_t *generation_value = nullptr, error_code &ec = hpx::throws)#
get a future allowing to wait for the trigger to fire
-
inline bool set(error_code &ec = throws)#
Trigger this object.
-
inline void synchronize(std::size_t generation_value, char const *function_name = "trigger::synchronize", error_code &ec = throws)#
Wait for the generational counter to reach the requested stage.
Protected Functions
-
inline bool trigger_conditions(error_code &ec = throws)#
-
template<typename Lock>
inline void synchronize(std::size_t generation_value, Lock &l, char const *function_name = "trigger::synchronize", error_code &ec = throws)#
Private Types
-
typedef std::list<conditional_trigger*> condition_list_type#
-
struct manage_condition#
Public Functions
-
inline manage_condition(base_trigger &gate, conditional_trigger &cond)#
-
inline ~manage_condition()#
-
inline manage_condition(base_trigger &gate, conditional_trigger &cond)#
-
inline base_trigger()#
-
struct trigger : public hpx::lcos::local::base_trigger<hpx::no_mutex>#
Public Functions
-
inline trigger()#
-
template<typename Lock>
inline void synchronize(std::size_t generation_value, Lock &l, char const *function_name = "trigger::synchronize", error_code &ec = throws)#
Private Types
-
typedef base_trigger<hpx::no_mutex> base_type#
-
inline trigger()#
-
template<typename Mutex = hpx::spinlock>
-
namespace local
-
namespace lcos