fairness
v1.0.0
A collection of advanced syncronization mechanisms.
|
This file contains the implementation of the shared_priority_mutex. More...
#include <array>
#include <atomic>
#include <boost/fairness/priority_t.hpp>
#include <boost/fairness/spinlock_priority_mutex.hpp>
#include <boost/fairness/detail/wait_ops.hpp>
Go to the source code of this file.
Classes | |
class | boost::fairness::shared_priority_mutex< N > |
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: More... | |
Namespaces | |
namespace | boost |
namespace | boost::fairness |
Macros | |
#define | PROCEED 1 |
#define | WAIT 0 |
This file contains the implementation of the shared_priority_mutex.
#define PROCEED 1 |
#define WAIT 0 |