atomic.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define atomic_inc(x)   ((void) atomic_add(x, 1))
#define atomic_dec(x)   ((void) atomic_add(x, -1))
#define atomic_postinc(x)   (atomic_add(x, 1) - 1)
#define atomic_postdec(x)   (atomic_add(x, -1) + 1)
#define atomic_preinc(x)   atomic_add(x, 1)
#define atomic_predec(x)   atomic_add(x, -1)

Functions

static long atomic_add (atomic_t *val, int i)


Detailed Description

Definition in file atomic.h.


Generated on Sun Jun 18 17:02:42 2006 for HelenOS Kernel (mips32) by  doxygen 1.4.6