![]() |
|||||
|
Go to the source code of this file.
Defines | |
#define | ATOMIC_INIT(i) (i) |
Typedefs | |
typedef signed long | atomic_t |
Functions | |
void | atomic_set (atomic_t volatile *v, int i) |
int | atomic_write (atomic_t volatile *v, int i) |
int | atomic_read (atomic_t volatile *v) |
void | atomic_add (int i, atomic_t volatile *v) |
void | atomic_sub (int i, atomic_t volatile *v) |
void | atomic_inc (atomic_t volatile *v) |
void | atomic_dec (atomic_t volatile *v) |
int | atomic_inc_and_test (atomic_t volatile *v) |
Returns the previous value. | |
int | atomic_dec_and_test (atomic_t volatile *v) |
Returns the previous value. | |
int | atomic_add_and_test (int i, atomic_t volatile *v) |
Returns the previous value. | |
int | atomic_sub_and_test (int i, atomic_t volatile *v) |
Returns the previous value. |
|
|
|
|
|
|
|
Returns the previous value.
|
|
|
|
Returns the previous value.
|
|
|
|
Returns the previous value.
|
|
|
|
|
|
|
|
Returns the previous value.
|
|
|
|
UNIX Emulation for Win32 Libraries documentation © Synesis Software Pty Ltd, 2002-2005 |