atomic.h File Reference

#include <atomicdflt.h>

Go to the source code of this file.

Defines

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

Functions

static atomic_count_t atomic_add (atomic_t *val, atomic_count_t i)


Detailed Description

Definition in file atomic.h.


Generated on Thu Jun 2 07:45:52 2011 for HelenOS/USB by  doxygen 1.4.7