fairness  v1.0.0
A collection of advanced syncronization mechanisms.
Loading...
Searching...
No Matches
utils::thread Namespace Reference

Enumerations

enum class  LockLevel { Unique , Shared , Unique_Try , Shared_Try }
 

Functions

template<LockLevel lock_level, utils::waiting::WaitingLevel waiting_level, typename Lockable >
void thread_function (Lockable &lockable, int preCriticalTime, int criticalTime, int postCriticalTime, int p=0)
 

Enumeration Type Documentation

◆ LockLevel

Enumerator
Unique 
Shared 
Unique_Try 
Shared_Try 

Function Documentation

◆ thread_function()

template<LockLevel lock_level, utils::waiting::WaitingLevel waiting_level, typename Lockable >
void utils::thread::thread_function ( Lockable &  lockable,
int  preCriticalTime,
int  criticalTime,
int  postCriticalTime,
int  p = 0 
)