Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

sem_s Struct Reference
[KERNEL component]

contains all data about a semaphore. More...

#include <seminl.h>

List of all members.

Public Attributes

int init
 flag that tells wheter the semaphore has been initialized. More...

int c
 the semaphore counter. More...

int task
 process ID of a thread blocking on the semaphore. More...


Detailed Description

contains all data about a semaphore.

Definition at line 30 of file seminl.h.


Member Data Documentation

int sem_s::c
 

the semaphore counter.

Definition at line 32 of file seminl.h.

Referenced by sem_init, sem_post, and sem_wait.

int sem_s::init
 

flag that tells wheter the semaphore has been initialized.

Definition at line 31 of file seminl.h.

Referenced by sem_destroy, sem_init, sem_post, and sem_wait.

int sem_s::task
 

process ID of a thread blocking on the semaphore.

Definition at line 33 of file seminl.h.

Referenced by sem_destroy, sem_init, sem_post, and sem_wait.


The documentation for this struct was generated from the following file:
Generated on Thu Feb 20 15:39:01 2003 for cubeOS by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002