hpx/lcos_local/trigger.hpp
hpx/lcos_local/trigger.hpp#
Defined in header 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() noexcept#
-
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
-
using condition_list_type = hpx::detail::intrusive_list<condition_list_entry>#
-
struct condition_list_entry : public conditional_trigger#
Public Functions
-
condition_list_entry() = default#
-
condition_list_entry() = default#
-
struct manage_condition#
Public Functions
-
inline manage_condition(base_trigger &gate, condition_list_entry &cond) noexcept#
-
inline ~manage_condition()#
-
inline manage_condition(base_trigger &gate, condition_list_entry &cond) noexcept#
-
inline base_trigger() noexcept#
-
struct trigger : public hpx::lcos::local::base_trigger<hpx::no_mutex>#
Public Functions
-
trigger() = default#
-
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
-
using base_type = base_trigger<hpx::no_mutex>#
-
trigger() = default#
-
template<typename Mutex = hpx::spinlock>
-
namespace local
-
namespace lcos