![]() |
fairness
v1.0.0
A collection of advanced syncronization mechanisms.
|
▼Nboost | |
▼Nfairness | |
▼Ndetail | |
Ccoherent_priority_lock | |
Cpqlock | |
Cpqspinlock | |
CRequest | |
CRequestPool | |
CThread | |
CThreadPool | |
CwaitingFlag | |
CWaitPool | |
Ccontrol_block_64b_simple_t | |
Cpriority_mutex | The priority_mutex is an advanced synchronization mechanism that enhances the traditional mutex by introducing a priority-based approach. It serves to protect shared data from simultaneous access by multiple threads and provides exclusive, non-recursive ownership semantics: |
Crecursive_priority_mutex | The recursive_priority_mutex is an advanced synchronization mechanism that enhances the traditional mutex by introducing a priority-based approach. The recursive_priority_mutex can be used to protect shared data from being simultaneously accessed by multiple threads. recursive_priority_mutex offers exclusive, recursive ownership semantics: |
Cshared_lock | The class shared_lock is a general-purpose shared mutex ownership wrapper allowing deferred locking, timed locking and transfer of lock ownership. Locking a shared_lock locks the associated shared mutex in shared mode (to lock it in exclusive mode, std::unique_lock can be used). The shared_lock class is movable, but not copyable – it meets the requirements of MoveConstructible and MoveAssignable but not of CopyConstructible or CopyAssignable. shared_lock meets the Lockable requirements. If Lockable meets the SharedTimedLockable requirements, shared_lock also meets TimedLockable requirements. In order to wait in a shared mutex in shared ownership mode, std::condition_variable_any can be used (std::condition_variable requires std::unique_lock and so can only wait in unique ownership mode) |
Cshared_priority_mutex | The shared_priority_mutex is an advanced synchronization mechanism that enhances the traditional shared_mutex by introducing a priority-based approach. The shared_priority_mutex class is a synchronization primitive that can be used to protect shared data from being simultaneously accessed by multiple threads. In contrast to other mutex types which facilitate exclusive access, a shared_mutex has two levels of access: |
Cslim_priority_mutex< N, Range<(1<=N &&N<=BOOST_FAIRNESS_SPM64B_SUPPORTED_PRIORITIES)> > | The slim_priority_mutex is an advanced synchronization mechanism that enhances the traditional mutex by introducing a priority-based approach. The slim_priority_mutex can be used to protect shared data from being simultaneously accessed by multiple threads. slim_priority_mutex offers exclusive, non-recursive ownership semantics: |
Cspinlock_priority_mutex | The spinlock_priority_mutex is an advanced synchronization mechanism that enhances the traditional mutex by introducing a priority-based approach |
Cunique_lock | The class unique_lock is a general-purpose mutex ownership wrapper allowing deferred locking, time-constrained attempts at locking, recursive locking, transfer of lock ownership, and use with condition variables. The class unique_lock is movable, but not copyable – it meets the requirements of MoveConstructible and MoveAssignable but not of CopyConstructible or CopyAssignable. The class unique_lock meets the BasicLockable requirements. If Lockable meets the Lockable requirements, unique_lock also meets the Lockable requirements (ex.: can be used in boost::fairness::lock); if Lockable meets the TimedLockable requirements, unique_lock also meets the TimedLockable requirements |