13 #include "threads/CriticalSection.h" 27 CCriticalSection& sec;
30 inline explicit CSingleExit(CCriticalSection& cs) : sec(cs), count(cs.exit()) { }
This implements a "guard" pattern for exiting all locks currently being held by the current thread an...
Definition: SingleLock.h:25