#include <config.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.
Typedefs | |
| typedef volatile unsigned char | atomic_t |
| The data type that allows for atomic count operations. | |
Functions | |
| void | atomic_dec (atomic_t *counter) |
| decrement atomic counter without interruption. | |
| void | atomic_inc (atomic_t *counter) |
| increment atomic counter without interruption. | |
Definition in file atomic.h.
|
|
The data type that allows for atomic count operations.
|
|
|
decrement atomic counter without interruption. locks interrupts except NMI, decrements count then restores interrupts.
|
|
|
increment atomic counter without interruption. locks interrupts except NMI, increments count then restores interrupts.
Referenced by sem_post(). |
|
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2002 by the authors. |
1.3.5