Lock Struct Reference


Data Fields

int locked
LONG spinlock
WinThreadwaitPtr

Detailed Description

The following structure defines a mutex as a spinlock and wait queue. The custom lock code provides the speed of a Win32 CriticalSection with the TryLock of a Mutex handle (TryEnterCriticalSection is not yet available on all Win32 platforms).


Field Documentation

int Lock::locked

LONG Lock::spinlock

WinThread* Lock::waitPtr


The documentation for this struct was generated from the following file:
Generated on Tue Sep 4 19:58:57 2007 by  doxygen 1.5.1