14#ifndef BOOST_FAIRNESS_WAIT_OPS_GENERIC_HPP
15#define BOOST_FAIRNESS_WAIT_OPS_GENERIC_HPP
21 template<
typename T,
typename K>
22 inline void wait_(T& mem, K expected){
24 T::is_always_lock_free
25 ,
"Invalid argument size on boost::fairness::detail::wait"
27 mem.wait(expected, std::memory_order_relaxed);
33 T::is_always_lock_free
34 ,
"Invalid argument size on boost::fairness::detail::notify_one"
42 T::is_always_lock_free
43 ,
"Invalid argument size on boost::fairness::detail::notify_one"
This file contains configurations about boost and 128bit cpu support. TODO.
Definition coherent_priority_lock.hpp:25
void wait_(T &mem, K expected)
Definition wait_ops_generic.hpp:22
void notify_one_(T &mem)
Definition wait_ops_generic.hpp:31
void notify_all_(T &mem)
Definition wait_ops_generic.hpp:40