ClanSoft logo
ClanSoft logo

    CL_MutexSection

Lock a mutex until the end of a scope.

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.

Class members

CL_MutexSection(CL_Mutex *mutex)
virtual ~CL_MutexSection()

See Also

None


Back to index



This page was built using the Perceps documentation system.