Home | All Classes | Grouped Classes | Index | Search
Lock a mutex until the end of a scope. More...
Derived from:
none
Derived by:
none
Group: Core (System)
#include <ClanLib/core.h>
Construction:
Mutex Section constructor. |
Operations:
Lock mutex. | |
Unlock mutex. |
Detailed description:
This class is a way to ensure a mutex will be released at the end of a scope. When an instance is constructed, it will lock the mutex, and when the instance is destroyed (at the exit of its scope), it will unlock the mutex.