hpx/synchronization/condition_variable.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
-
class
condition_variable
¶ Public Functions
-
condition_variable
()¶
-
~condition_variable
()¶
-
void
notify_one
(error_code &ec = throws)¶
-
void
notify_all
(error_code &ec = throws)¶
-
template<typename
Mutex
>
voidwait
(std::unique_lock<Mutex> &lock, error_code &ec = throws)¶
-
template<typename
Mutex
, typenamePredicate
>
voidwait
(std::unique_lock<Mutex> &lock, Predicate pred, error_code& = throws)¶
-
template<typename
Mutex
>
cv_statuswait_until
(std::unique_lock<Mutex> &lock, hpx::chrono::steady_time_point const &abs_time, error_code &ec = throws)¶
-
template<typename
Mutex
, typenamePredicate
>
boolwait_until
(std::unique_lock<Mutex> &lock, hpx::chrono::steady_time_point const &abs_time, Predicate pred, error_code &ec = throws)¶
-
template<typename
Mutex
>
cv_statuswait_for
(std::unique_lock<Mutex> &lock, hpx::chrono::steady_duration const &rel_time, error_code &ec = throws)¶
-
template<typename
Mutex
, typenamePredicate
>
boolwait_for
(std::unique_lock<Mutex> &lock, hpx::chrono::steady_duration const &rel_time, Predicate pred, error_code &ec = throws)¶
Private Types
-
-
class
condition_variable_any
¶ Public Functions
-
condition_variable_any
()¶
-
~condition_variable_any
()¶
-
void
notify_one
(error_code &ec = throws)¶
-
void
notify_all
(error_code &ec = throws)¶
-
template<typename
Lock
>
voidwait
(Lock &lock, error_code &ec = throws)¶
-
template<typename
Lock
, typenamePredicate
>
voidwait
(Lock &lock, Predicate pred, error_code& = throws)¶
-
template<typename
Lock
>
cv_statuswait_until
(Lock &lock, hpx::chrono::steady_time_point const &abs_time, error_code &ec = throws)¶
-
template<typename
Lock
, typenamePredicate
>
boolwait_until
(Lock &lock, hpx::chrono::steady_time_point const &abs_time, Predicate pred, error_code &ec = throws)¶
-
template<typename
Lock
>
cv_statuswait_for
(Lock &lock, hpx::chrono::steady_duration const &rel_time, error_code &ec = throws)¶
-
template<typename
Lock
, typenamePredicate
>
boolwait_for
(Lock &lock, hpx::chrono::steady_duration const &rel_time, Predicate pred, error_code &ec = throws)¶
-
template<typename
Lock
, typenamePredicate
>
boolwait
(Lock &lock, stop_token stoken, Predicate pred, error_code &ec = throws)¶
-
template<typename
Lock
, typenamePredicate
>
boolwait_until
(Lock &lock, stop_token stoken, hpx::chrono::steady_time_point const &abs_time, Predicate pred, error_code &ec = throws)¶
-
template<typename
Lock
, typenamePredicate
>
boolwait_for
(Lock &lock, stop_token stoken, hpx::chrono::steady_duration const &rel_time, Predicate pred, error_code &ec = throws)¶
Private Types
-
-
namespace
lcos
-
namespace
local
Typedefs
-
typedef hpx::spinlock_pool<Tag, N>
instead
-
typedef hpx::spinlock_pool<Tag, N>
-
namespace
-
class