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>
structbase_trigger
¶ Public Functions
-
base_trigger
()¶
-
base_trigger
(base_trigger &&rhs)¶
-
base_trigger &
operator=
(base_trigger &&rhs)¶
-
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
-
bool
set
(error_code &ec = throws)¶ Trigger this object.
-
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 Types
-
typedef Mutex
mutex_type
¶
Protected Functions
-
bool
trigger_conditions
(error_code &ec = throws)¶
-
template<typename
Lock
>
voidsynchronize
(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
-
template<>
manage_condition
(base_trigger &gate, conditional_trigger &cond)¶
-
template<>
~manage_condition
()¶
-
template<typename
Condition
>
hpx::future<void>get_future
(Condition &&func, error_code &ec = hpx::throws)¶
-
template<>
-
-
template<typename
-
namespace
-
namespace