14#ifndef BOOST_FAIRNESS_WAIT_OPS_WINDOWS_HPP
15#define BOOST_FAIRNESS_WAIT_OPS_WINDOWS_HPP
18#define WIN32_LEAN_AND_MEAN
20#undef WIN32_LEAN_AND_MEAN
24 template<
typename T,
typename K>
25 inline void wait_(T& mem, K expected){
31 ,
"Invalid argument size on boost::fairness::detail::wait"
33 WaitOnAddress(&mem, &expected,
sizeof(expected), INFINITE);
43 ,
"Invalid argument size on boost::fairness::detail::notify_one"
45 WakeByAddressSingle(&mem);
55 ,
"Invalid argument size on boost::fairness::detail::notify_all"
57 WakeByAddressAll(&mem);
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