critical section data structure More...
#include <critsec.h>
Public Attributes | |
atomic_t | count |
tdata_t * | task |
critical section data structure
tracks current count (level of nesting) and the task that is in the critical section(s) count will be zero when no tasks are within a critical section.
atomic_t critsec::count |
Definition at line 49 of file critsec.h.
Referenced by enter_critical_section(), and wait_critical_section().
tdata_t* critsec::task |
Definition at line 50 of file critsec.h.
Referenced by enter_critical_section(), and wait_critical_section().
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2005 by the authors. |