My Project
UDK 3.2.7 C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Typedefs | Functions
interlck.h File Reference
#include <sal/types.h>

Go to the source code of this file.

Typedefs

typedef sal_Int32 oslInterlockedCount

Functions

SAL_DLLPUBLIC oslInterlockedCount osl_incrementInterlockedCount (oslInterlockedCount *pCount)
 Increments the count variable addressed by pCount.
SAL_DLLPUBLIC oslInterlockedCount osl_decrementInterlockedCount (oslInterlockedCount *pCount)
 Decrement the count variable addressed by pCount.

Typedef Documentation

typedef sal_Int32 oslInterlockedCount

Function Documentation

SAL_DLLPUBLIC oslInterlockedCount osl_decrementInterlockedCount ( oslInterlockedCount pCount)

Decrement the count variable addressed by pCount.

Parameters
pCountAddress of counter variable
Returns
The result of the operation is the new value is of the count variable.
SAL_DLLPUBLIC oslInterlockedCount osl_incrementInterlockedCount ( oslInterlockedCount pCount)

Increments the count variable addressed by pCount.

Parameters
pCountAddress of counter variable
Returns
The result of the operation is zero, the value of the count variable.