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

Go to the source code of this file.

Macros

#define osl_atomic_increment(p)   osl_incrementInterlockedCount((p))
 
#define osl_atomic_decrement(p)   osl_decrementInterlockedCount((p))
 

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.
 

Macro Definition Documentation

#define osl_atomic_decrement (   p)    osl_decrementInterlockedCount((p))
#define osl_atomic_increment (   p)    osl_incrementInterlockedCount((p))

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 count variable
Returns
The adjusted value of the count variable.
SAL_DLLPUBLIC oslInterlockedCount osl_incrementInterlockedCount ( oslInterlockedCount pCount)

Increments the count variable addressed by pCount.

Parameters
pCountAddress of count variable
Returns
The adjusted value of the count variable.