Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class 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

atomic_t 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 48 of file critsec.h.


Member Data Documentation

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().


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 Mon Feb 16 21:02:34 2004 for brickOS Kernel Developer by doxygen 1.3.5