A guard class that only releases a locked mutex. More...
#include <Radiant/Mutex.hpp>
Public Member Functions | |
| ReleaseGuard (Mutex &mutex) | |
| Constructs a new guard. Does not lock the given mutex. | |
| ~ReleaseGuard () | |
| Unlocks the mutex. | |
A guard class that only releases a locked mutex.
This class is used to automatically unlock a mutex within some function.