CL_MutexSection3
Lock a mutex until the end of a scope.
Overview
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.
Class members
CL_MutexSection(-
CL_Mutex *mutex)
- virtual
~CL_MutexSection()
Members with descriptions
CL_MutexSection(-
CL_Mutex *mutex)
Description:
- virtual
~CL_MutexSection() -
Description: