MPMA::TakeSpinLock Class Reference

Used to lock/unlock a spinlock automatically using scope. The lock is released on destruction. More...

#include <Locks.h>

List of all members.

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).


Detailed Description

Used to lock/unlock a spinlock automatically using scope. The lock is released on destruction.
The documentation for this class was generated from the following file:
Generated on Wed Feb 13 20:57:09 2008 for MPMA Framework by  doxygen 1.5.4