Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

critsec Struct Reference

critical section data structure. More...

#include <critsec.h>


Data Fields

unsigned char count
tdata_t * task


Detailed Description

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.

Definition at line 46 of file critsec.h.


Field Documentation

unsigned char critsec::count
 

Definition at line 47 of file critsec.h.

tdata_t* critsec::task
 

Definition at line 48 of file critsec.h.


The documentation for this struct was generated from the following file:
brickOS is released under the Mozilla Public License.
Original code copyright 1998-2002 by the authors.

Generated on Tue Dec 10 00:09:03 2002 for brickOS C by doxygen 1.2.15