Lines Matching defs:value
50 PR_IMPLEMENT(PRSemaphore*) PR_NewSem(PRUintn value)
59 _PR_MD_NEW_SEM(&sem->md, value);
74 sem->count = value;
102 ** state of the semahore sem. The thread can proceed only if the counter value
103 ** of the semaphore sem is currently greater than 0. If the value of semaphore
105 ** allowing the calling thread to continue. If the value of semaphore sem is 0,
136 ** This routine increments the counter value of the semaphore. If other threads
155 ** Returns the value of the semaphore referenced by sem without affecting
156 ** the state of the semaphore. The value represents the semaphore vaule
157 ** at the time of the call, but may not be the actual value when the