FRI-OS
Public Member Functions | List of all members
mutex::unlock Class Reference

Class unlocking a mutex on construction and locking on destruction. More...

#include <frios/posix/threads/mutex.hpp>

Public Member Functions

 unlock (mutex &mutex)
 Unlocks the specified mutex. More...
 
 ~unlock (void)
 Locks the mutex unlocked in the constructor.
 

Detailed Description

Class unlocking a mutex on construction and locking on destruction.

Instances of the unlock class unlock a specified mutex when they are constructed and lock it when they are destroyed.

Constructor & Destructor Documentation

unlock ( mutex mutex)

Unlocks the specified mutex.

Exceptions
unlock_error

The documentation for this class was generated from the following file: