Home | History | Annotate | Download | only in pthreads-win32

Lines Matching refs:cv

41  * of the discussion is recorded in the file README.CV, which contains
271 pthread_cond_t cv;
280 pthread_cond_t cv = cleanup_args->cv;
291 if ((result = pthread_mutex_lock (&(cv->mtxUnblockLock))) != 0)
297 if (0 != (nSignalsWasLeft = cv->nWaitersToUnblock))
299 --(cv->nWaitersToUnblock);
301 else if (INT_MAX / 2 == ++(cv->nWaitersGone))
304 if (ptw32_semwait (&(cv->semBlockLock)) != 0)
308 * This is a fatal error for this CV,
310 * cv->mtxUnblockLock before returning.
314 cv->nWaitersBlocked -= cv->nWaitersGone;
315 if (sem_post (&(cv->semBlockLock)) != 0)
319 * This is a fatal error for this CV,
321 * cv->mtxUnblockLock before returning.
325 cv->nWaitersGone = 0;
328 if ((result = pthread_mutex_unlock (&(cv->mtxUnblockLock))) != 0)
336 if (sem_post (&(cv->semBlockLock)) != 0)
358 pthread_cond_t cv;
382 cv = *cond;
385 if (sem_wait (&(cv->semBlockLock)) != 0)
390 ++(cv->nWaitersBlocked);
392 if (sem_post (&(cv->semBlockLock)) != 0)
401 cleanup_args.cv = cv;
431 if (sem_timedwait (&(cv->semBlockQueue), abstime) != 0)