|
CS350 COS
COS
|
#include <semaphore.h>
Public Member Functions | |
| TAILQ_HEAD (SemaThreadQueue, Thread) waiters | |
| LIST_ENTRY (Semaphore) semaphoreList | |
Data Fields | |
| Spinlock | lock |
| char | name [SEMAPHORE_NAMELEN] |
| int | count |
Definition at line 12 of file semaphore.h.
| Semaphore::LIST_ENTRY | ( | Semaphore | ) |
| Semaphore::TAILQ_HEAD | ( | SemaThreadQueue | , |
| Thread | |||
| ) |
| int Semaphore::count |
Definition at line 16 of file semaphore.h.
| Spinlock Semaphore::lock |
Definition at line 14 of file semaphore.h.
| char Semaphore::name[SEMAPHORE_NAMELEN] |
Definition at line 15 of file semaphore.h.