kodi
Public Member Functions | List of all members
CSingleExit Class Reference

This implements a "guard" pattern for exiting all locks currently being held by the current thread and restoring those locks on destruction. More...

#include <SingleLock.h>

Public Member Functions

 CSingleExit (CCriticalSection &cs)
 

Detailed Description

This implements a "guard" pattern for exiting all locks currently being held by the current thread and restoring those locks on destruction.

This class can be used on a CCriticalSection that isn't owned by this thread in which case it will do nothing.


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