13#ifndef BOOST_FAIRNESS_PRIORITY_MUTEX_CPL_HPP
14#define BOOST_FAIRNESS_PRIORITY_MUTEX_CPL_HPP
45 template<
size_t N = 1>
49 using Thread_cnt_t = uint32_t;
The priority_mutex is an advanced synchronization mechanism that enhances the traditional mutex by in...
Definition priority_mutex_cpl.hpp:47
void lock(Priority_t const priority=0)
Acquire the priority_mutex with a designated priority. If another thread has already obtained the loc...
Definition priority_mutex_cpl.hpp:110
void unlock()
Unlocks the priority-mutex. It is essential for the priority-mutex to be held by the current thread ...
Definition priority_mutex_cpl.hpp:152
#define BOOST_FAIRNESS_HARDWARE_DESTRUCTIVE_SIZE
Size to be aligned to avoid false sharing
Definition config.hpp:85
Definition acquisition_modes.hpp:16
uint8_t Priority_t
Definition priority_t.hpp:17
Alias the type Priority_t. Priority_t is the type of priorities that are used by the priority_mutexes...
#define BOOST_FAIRNESS_MAXIMUM_PRIORITY
Priorities are indexes in an array, that means that if I define a priority_mutex<BOOST_FAIRNESS_MAXIM...
Definition priority_t.hpp:24
This file contains the implementation of the spinlock_priority_mutex based on a scalable list base al...
This file contains the implementation of the wait operations used by the mutexes.
This file contains the implementation of a wait pool.