| 
    Kodi Documentation 22.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
#include <SingleLock.h>
Public Member Functions | |
| CSingleExit (CCriticalSection &cs) | |
| ~CSingleExit () | |
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.
      
  | 
  inlineexplicit | 
      
  | 
  inline |