#include <ktypes.h>
Data Fields | |
signed char | sem_value |
Semaphore ID. -1 -> uninitialized. | |
_queue | sem_wait_q |
Resource count. | |
pid_t | owner |
Queue of waiting processes. | |
unsigned char | unlink |
|
PID of process owning this semaphore. if -1 , then any process can access this sem. |