fairness  v1.0.0
A collection of advanced syncronization mechanisms.
Loading...
Searching...
No Matches
shared_priority_mutex.hpp File Reference

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>
Include dependency graph for shared_priority_mutex.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
 

Detailed Description

This file contains the implementation of the shared_priority_mutex.

Author
F. Abrignani (feder.nosp@m.igno.nosp@m.li@ho.nosp@m.tmai.nosp@m.l.it)
S. Martorana (salva.nosp@m.tore.nosp@m.marto.nosp@m.rana.nosp@m.@hotm.nosp@m.ail..nosp@m.com)
Version
0.1
Date
2023-08-19

Macro Definition Documentation

◆ PROCEED

#define PROCEED   1

◆ WAIT

#define WAIT   0