FRI-OS
Classes | Namespaces
mutex.hpp File Reference

Wrapper around POSIX mutexes. More...

#include <frios/posix/error.hpp>
#include <frios/posix/threads/mutex_attr.hpp>
#include <pthread.h>
Include dependency graph for mutex.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mutex
 Wrapper around POSIX mutexes. More...
 
struct  mutex::init_error
 Exception class for mutex initialization errors. More...
 
struct  mutex::lock_error
 Exception class for locking operation errors. More...
 
struct  mutex::unlock_error
 Exception class for unlocking operation errors. More...
 
struct  mutex::locked
 Exception class indicating that a mutex is already locked. More...
 
class  mutex::lock
 Class locking a mutex on construction and unlocking on destruction. More...
 
class  mutex::unlock
 Class unlocking a mutex on construction and locking on destruction. More...
 
struct  mutex::try_lock
 Class optionally locking a mutex if it is free. More...
 

Namespaces

 frios
 Namespace for the FRI-OS project.
 
 frios::posix
 Namespace for the POSIX-related declarations.
 

Detailed Description

Wrapper around POSIX mutexes.