![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cKernel.h>
Public Member Functions | |
| void | Init (LONG lVal=0) |
| LONG | Increment () |
| LONG | Decrement () |
| LONG | Exchange (LONG lVal=0) |
| LONG | ExchangeAdd (LONG lValAdd) |
| LONG | ExchangeIf (LONG lValCompare, LONG lVal=0) |
| operator LONG () const | |
Public Attributes | |
| LONG | m_lVal |
LONG = 32 bit values interlocked in kernel.
|
inline |
|
inline |
|
inline |
|
inline |
Only exchange if m_lVal is currently equal to lValCompare
|
inline |
|
inline |
|
inline |
| LONG GrayKernel::CKeInterlockedLong::m_lVal |