semaphore Struct Reference

#include <synch.h>


Data Fields

unsigned value
struct list waiters


Detailed Description

Definition at line 9 of file synch.h.


Field Documentation

unsigned semaphore::value

Definition at line 11 of file synch.h.

Referenced by sema_down(), sema_init(), sema_try_down(), and sema_up().

struct list semaphore::waiters [read]

Definition at line 12 of file synch.h.

Referenced by sema_down(), sema_init(), and sema_up().


The documentation for this struct was generated from the following file:

Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6