Class Mutex

Class Documentation

class Mutex

Implementation of an mutex with pthread_mutex_t and priority inheritance. Linux only: it falls back to std::mutex otherwise.

Public Functions

inline Mutex()
inline ~Mutex()
Mutex(const Mutex&) = delete
Mutex &operator=(const Mutex&) = delete
inline void lock()
inline void unlock() noexcept
inline bool try_lock() noexcept