![]() |
|||||
|
#include <asm/atomic.h>
#include <unixem/unixem.h>
#include <errno.h>
#include <windows.h>
Functions | |
void | atomic_set (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. |
void atomic_add | ( | int | i, | |
atomic_t volatile * | v | |||
) |
int atomic_add_and_test | ( | int | i, | |
atomic_t volatile * | v | |||
) |
Returns the previous value.
void atomic_dec | ( | atomic_t volatile * | v | ) |
int atomic_dec_and_test | ( | atomic_t volatile * | v | ) |
Returns the previous value.
void atomic_inc | ( | atomic_t volatile * | v | ) |
int atomic_inc_and_test | ( | atomic_t volatile * | v | ) |
Returns the previous value.
int atomic_read | ( | atomic_t volatile * | v | ) |
void atomic_set | ( | atomic_t volatile * | v, | |
int | i | |||
) |
void atomic_sub | ( | int | i, | |
atomic_t volatile * | v | |||
) |
int atomic_sub_and_test | ( | int | i, | |
atomic_t volatile * | v | |||
) |
Returns the previous value.
|
UNIX Emulation for Win32 Libraries documentation © Synesis Software Pty Ltd, 2002-2007 |