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

This file contains the implementation of the recursive_priority_mutex. More...

#include <thread>
#include <atomic>
#include <array>
#include <boost/fairness/priority_t.hpp>
#include <boost/fairness/detail/wait_ops.hpp>
#include <boost/fairness/spinlock_priority_mutex.hpp>
Include dependency graph for recursive_priority_mutex.hpp:

Go to the source code of this file.

Classes

class  boost::fairness::recursive_priority_mutex< N >
 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: More...
 

Namespaces

namespace  boost
 
namespace  boost::fairness
 

Macros

#define PROCEED   1
 
#define WAIT   0
 

Detailed Description

This file contains the implementation of the recursive_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