13#ifndef BOOST_FAIRNESS_SPINLOCK_PRIORITY_MUTEX_CPL_HPP
14#define BOOST_FAIRNESS_SPINLOCK_PRIORITY_MUTEX_CPL_HPP
29 template<
size_t N = 1>
33 using Thread_cnt_t = uint32_t;
Definition pqspinlock.hpp:25
The spinlock_priority_mutex is an advanced synchronization mechanism that enhances the traditional mu...
Definition spinlock_priority_mutex_cpl.hpp:31
void lock(Priority_t const priority=0)
Try to acquire the unique ownership of the spinlock_priority_mutex, blocking the thread if the spinlo...
Definition spinlock_priority_mutex_cpl.hpp:70
void unlock()
Release the spinlock_priority_mutex from unique ownership.
Definition spinlock_priority_mutex_cpl.hpp:87
Definition acquisition_modes.hpp:16
uint8_t Priority_t
Definition priority_t.hpp:17
This file contains the implementation of a priority qlock.
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 wait operations used by the mutexes.