Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

critsec Struct Reference

critical section data structure More...

#include <critsec.h>

Collaboration diagram for critsec:

Collaboration graph
[legend]
List of all members.

Public Attributes

unsigned char count
tdata_ttask

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.


Member Data Documentation

unsigned char critsec::count
 

Definition at line 47 of file critsec.h.

Referenced by enter_critical_section(), and wait_critical_section().

tdata_t* critsec::task
 

Definition at line 48 of file critsec.h.

Referenced by enter_critical_section(), and wait_critical_section().


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 Sun Jul 27 00:12:50 2003 for brickOS Kernel Developer by doxygen 1.3.2