sem Struct Reference

One semaphore structure for each semaphore in the system. More...

#include <sem.h>


Data Fields

short sempid
 pid of last operation
ushort semval
 current value
ushort semncnt
 num procs awaiting increase in semval
ushort semzcnt
 num procs awaiting semval = 0


Detailed Description

One semaphore structure for each semaphore in the system.

Definition at line 31 of file sem.h.


Field Documentation

ushort sem::semncnt

num procs awaiting increase in semval

Definition at line 34 of file sem.h.

short sem::sempid

pid of last operation

Definition at line 32 of file sem.h.

ushort sem::semval

current value

Definition at line 33 of file sem.h.

ushort sem::semzcnt

num procs awaiting semval = 0

Definition at line 35 of file sem.h.


The documentation for this struct was generated from the following file:
Generated on Mon May 1 21:47:04 2006 for KernelAPI by  doxygen 1.4.6-5