fairness  v1.0.0
A collection of advanced syncronization mechanisms.
Loading...
Searching...
No Matches
boost::fairness::detail Namespace Reference

Classes

class  coherent_priority_lock
 
class  pqlock
 
class  pqspinlock
 
struct  Request
 
class  RequestPool
 
struct  Thread
 
class  ThreadPool
 
struct  waitingFlag
 
class  WaitPool
 

Enumerations

enum class  WaitMechanism { Spin , Wait }
 

Functions

template<typename T >
void notify_all (T &mem) noexcept
 
template<typename T >
void notify_all_ (T &mem)
 
template<typename T >
void notify_one (T &mem) noexcept
 
template<typename T >
void notify_one_ (T &mem)
 
void pause () noexcept
 
void pause_ ()
 
void spin_wait () noexcept
 
template<typename K >
void spin_wait (std::atomic_flag &mem, K const expected) noexcept
 
template<typename T , typename K >
void spin_wait (T &mem, K const expected) noexcept
 
template<typename T , typename K >
void wait (T &mem, K const expected) noexcept
 
template<typename T , typename K >
void wait_ (T &mem, K expected)
 

Enumeration Type Documentation

◆ WaitMechanism

Enumerator
Spin 
Wait 

Function Documentation

◆ notify_all()

template<typename T >
void boost::fairness::detail::notify_all ( T &  mem)
inlinenoexcept

◆ notify_all_()

template<typename T >
void boost::fairness::detail::notify_all_ ( T &  mem)
inline

◆ notify_one()

template<typename T >
void boost::fairness::detail::notify_one ( T &  mem)
inlinenoexcept

◆ notify_one_()

template<typename T >
void boost::fairness::detail::notify_one_ ( T &  mem)
inline

◆ pause()

void boost::fairness::detail::pause ( )
inlinenoexcept

◆ pause_()

void boost::fairness::detail::pause_ ( )
inline

◆ spin_wait() [1/3]

void boost::fairness::detail::spin_wait ( )
inlinenoexcept

◆ spin_wait() [2/3]

template<typename K >
void boost::fairness::detail::spin_wait ( std::atomic_flag &  mem,
K const  expected 
)
inlinenoexcept

◆ spin_wait() [3/3]

template<typename T , typename K >
void boost::fairness::detail::spin_wait ( T &  mem,
K const  expected 
)
inlinenoexcept

◆ wait()

template<typename T , typename K >
void boost::fairness::detail::wait ( T &  mem,
K const  expected 
)
inlinenoexcept

◆ wait_()

template<typename T , typename K >
void boost::fairness::detail::wait_ ( T &  mem,
expected 
)
inline