Simple portable mutex
Public Types | |
typedef int | Spinlock |
Public Member Functions | |
__forceinline__ void | _ReadWriteBarrier () |
__forceinline__ long | _InterlockedExchange (volatile int *const Target, const int Value) |
__forceinline__ void | YieldProcessor () |
Mutex () | |
__forceinline__ void | Lock () |
__forceinline__ void | Unlock () |
Data Fields | |
volatile Spinlock | lock |
Lock member. | |
|
inline |
|
inline |
|
inline |
|
inline |