#include <config.h>
#include <atomic.h>
Include dependency graph for critsec.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | __sys_critsec_h__ |
#define | INITIALIZE_KERNEL_CRITICAL_SECTION() kernel_critsec_count=0 |
#define | ENTER_KERNEL_CRITICAL_SECTION() atomic_inc(&kernel_critsec_count) |
#define | LEAVE_KERNEL_CRITICAL_SECTION() atomic_dec(&kernel_critsec_count) |
#define | DESTROY_KERNEL_CRITICAL_SECTION() |
Variables | |
atomic_t | kernel_critsec_count |
critical section counter for kernel/task manager |
Definition in file critsec.h.
|
|
|
|
|
|
|
|
|
|
|
critical section counter for kernel/task manager when the critical section counter is Zero, task swapping is allowed. when greater than zero, task swapping is not allowed. |
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2002 by the authors. |