#include <Locks.h>
Public Member Functions | |
TakeSpinLock (SpinLock &slock, bool takeNow=true) | |
ctor - takes the lock (optionally), and releases it upon destruction | |
void | Take () |
Manually takes the lock. (NOT safe to call repeatedly). | |
void | Leave () |
Manually releases the lock. (NOT safe to call repeatedly). |