#include <lib/sconfig.h>
#include <lib/threads/mutex.h>
#include <glib/gthread.h>
Include dependency graph for atomic.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | AtomicInt |
Atomic integer with atomic operations that C can't guarantee us. More... | |
Defines | |
#define | _ThreadLibrary_Atomic_H_ 1 |
The class AtomicInt implements an atomic integer counter which can be used just as a normal integer with operations increment, decrement, addition and subtraction. Furthermore, special routines to atomically decrement or subtract and then checking the result against zero are implemented.
Definition in file atomic.h.
|
|