/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/ |
H A D | rccv.h | 79 PRCondVar *cv; local
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/bthreads/ |
H A D | btcvar.c | 56 PRCondVar *cv = PR_NEW( PRCondVar ); local 58 if( NULL != cv ) 60 cv->lock = lock; 61 cv->sem = create_sem(0, "CVSem"); 62 cv->handshakeSem = create_sem(0, "CVHandshake"); 63 cv->signalSem = create_sem( 0, "CVSignal"); 64 cv->signalBenCount = 0; 65 cv->ns = cv->nw = 0; 66 PR_ASSERT( cv [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | dceemu.c | 73 PRCondVar *cv = PRP_NewNakedCondVar(); local 84 rv = PRP_NakedNotify(cv); 88 rv = PRP_NakedBroadcast(cv); 92 rv = PRP_NakedWait(cv, ml, tenmsecs); 98 rv = PRP_NakedNotify(cv); 102 rv = PRP_NakedBroadcast(cv); 106 PRP_DestroyNakedCondVar(cv);
|
H A D | logger.c | 78 PRCondVar *cv; local 83 cv = PR_NewCondVar(ml); 89 PR_WaitCondVar(cv, PR_SecondsToInterval(1)); 94 PR_DestroyCondVar(cv);
|
H A D | lazyinit.c | 78 PRCondVar *cv = NULL; local
|
H A D | many_cv.c | 72 PRCondVar **cv = NULL; local 107 cv = (PRCondVar**)PR_CALLOC(sizeof(PRCondVar*) * cvs); 108 PR_ASSERT(NULL != cv); 112 cv[index] = PR_NewCondVar(ml); 113 PR_ASSERT(NULL != cv[index]); 122 if (0 == ran) PR_NotifyAllCondVar(cv[nl]); 124 PR_NotifyCondVar(cv[nl]); 130 PR_DestroyCondVar(cv[index]); 132 PR_DELETE(cv);
|
H A D | concur.c | 69 PRCondVar *cv; member in struct:Context 86 PR_WaitCondVar(context->cv, PR_INTERVAL_NO_TIMEOUT); 130 context.cv = PR_NewCondVar(context.ml); 157 PR_NotifyCondVar(context.cv); 179 PR_DestroyCondVar(context.cv);
|
H A D | inrval.c | 149 PRCondVar *cv = PR_NewCondVar(ml); local 155 rv = PR_WaitCondVar(cv, ticks); 166 PR_DestroyCondVar(cv);
|
H A D | intrupt.c | 67 static PRCondVar *cv = NULL; variable 80 rv = PR_WaitCondVar(cv, PR_INTERVAL_NO_TIMEOUT); 100 rv = PR_WaitCondVar(cv, 10); 112 rv = PR_WaitCondVar(cv, 10); 128 rv = PR_WaitCondVar(cv, 10); 148 rv = PR_WaitCondVar(cv, 10); 211 rv = PR_WaitCondVar(cv, PR_SecondsToInterval(4)); 259 cv = PR_NewCondVar(ml); 334 PR_DestroyCondVar(cv);
|
H A D | switch.c | 74 PRCondVar *cv; member in struct:Shared 104 status = PR_WaitCondVar(shared->cv, PR_INTERVAL_NO_TIMEOUT); 108 PR_NotifyCondVar(shared->next->cv); 176 home.cv = PR_NewCondVar(home.ml); 187 shared->cv = PR_NewCondVar(home.ml); 209 PR_NotifyCondVar(shared->cv); 212 status = PR_WaitCondVar(home.cv, PR_INTERVAL_NO_TIMEOUT); 254 PR_DestroyCondVar(shared->cv); 259 PR_DestroyCondVar(home.cv);
|
H A D | alarm.c | 177 PRCondVar *cv = PR_NewCondVar(ml); local 186 PR_ASSERT(PR_WaitCondVar(cv, interval) == PR_SUCCESS); 191 PR_DestroyCondVar(cv); 200 PRCondVar *cv; member in struct:AlarmData 218 rv = PR_NotifyCondVar(ad->cv); 225 PR_WaitCondVar(ad->cv, interval); 265 PRCondVar *cv = PR_NewCondVar(ml); local 268 ad.cv = cv; 285 PR_WaitCondVar(cv, PR_INTERVAL_NO_TIMEOU 340 PRCondVar *cv = PR_NewCondVar(ml); local 393 PRCondVar *cv = PR_NewCondVar(ml); local [all...] |
H A D | ntioto.c | 98 PRCondVar *cv; variable 147 PR_WaitCondVar( cv, PR_INTERVAL_NO_TIMEOUT ); 153 PR_NotifyCondVar( cv ); 166 PR_WaitCondVar( cv, PR_INTERVAL_NO_TIMEOUT ); 170 PR_NotifyCondVar( cv ); 263 cv = PR_NewCondVar( ml ); 308 PR_DestroyCondVar(cv);
|
H A D | tmoacc.c | 62 PRCondVar *cv; member in struct:Shared 175 PR_NotifyCondVar(shared->cv); 217 shared->cv = PR_NewCondVar(shared->ml); 284 PR_WaitCondVar(shared->cv, PR_INTERVAL_NO_TIMEOUT); 315 PR_DestroyCondVar(shared->cv);
|
H A D | y2ktmo.c | 304 PRCondVar *cv; local 311 cv = PR_NewCondVar(ml); 312 if (cv == NULL) { 317 PR_WaitCondVar(cv, timeout); 341 PR_DestroyCondVar(cv);
|
H A D | ranfile.c | 82 PRCondVar *cv; member in struct:Hammer_s 238 PR_NotifyCondVar(cd->cv); 247 static PRCondVar *cv; variable 337 cv = PR_NewCondVar(ml); 355 hammer[active].cv = cv; 368 PR_WaitCondVar(cv, interleave); /* start new ones slowly */ 390 PR_WaitCondVar(cv, PR_INTERVAL_NO_TIMEOUT); 420 PR_DestroyCondVar(cv);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | w95cv.c | 62 AddThreadToCVWaitQueueInternal(PRThread *thred, struct _MDCVar *cv) argument 64 PR_ASSERT((cv->waitTail != NULL && cv->waitHead != NULL) 65 || (cv->waitTail == NULL && cv->waitHead == NULL)); 66 cv->nwait += 1; 69 thred->md.prev = cv->waitTail; 70 if (cv->waitHead == NULL) { 71 cv->waitHead = thred; 73 cv 119 _MDCVar *cv = notified->cv[index].cv; local 243 _PR_MD_NEW_CV(_MDCVar *cv) argument 253 _PR_MD_FREE_CV(_MDCVar *cv) argument 262 _PR_MD_WAIT_CV(_MDCVar *cv, _MDLock *lock, PRIntervalTime timeout ) argument 327 _PR_MD_NOTIFY_CV(_MDCVar *cv, _MDLock *lock) argument 333 _PR_MD_NOTIFYALL_CV(_MDCVar *cv, _MDLock *lock) argument [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/ |
H A D | prcthr.c | 142 PRCondVar *cv; local 146 cv = PR_NewCondVar(_pr_sleeplock); 147 PR_ASSERT(cv != NULL); 153 rv = PR_WaitCondVar(cv, timeout - delta); 156 PR_DestroyCondVar(cv);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/ |
H A D | os2cv.c | 98 AddThreadToCVWaitQueueInternal(PRThread *thred, struct _MDCVar *cv) argument 100 PR_ASSERT((cv->waitTail != NULL && cv->waitHead != NULL) 101 || (cv->waitTail == NULL && cv->waitHead == NULL)); 102 cv->nwait += 1; 105 thred->md.prev = cv->waitTail; 106 if (cv->waitHead == NULL) { 107 cv->waitHead = thred; 109 cv 155 _MDCVar *cv = notified->cv[index].cv; local 282 _PR_MD_NEW_CV(_MDCVar *cv) argument 292 _PR_MD_FREE_CV(_MDCVar *cv) argument 302 _PR_MD_WAIT_CV(_MDCVar *cv, _MDLock *lock, PRIntervalTime timeout ) argument 381 _PR_MD_NOTIFY_CV(_MDCVar *cv, _MDLock *lock) argument 428 _PR_MD_NOTIFYALL_CV(_MDCVar *cv, _MDLock *lock) argument [all...] |
/vbox/src/libs/libxml2-2.6.31/ |
H A D | threads.c | 120 pthread_cond_t cv; member in struct:_xmlRMutex 298 pthread_cond_init(&tok->cv, NULL); 328 pthread_cond_destroy(&tok->cv); 362 pthread_cond_wait(&tok->cv, &tok->lock); 402 pthread_cond_signal(&tok->cv);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/ |
H A D | ranfile.cpp | 96 RCCondition *cv; member in class:HammerData 159 cv = cond; 272 cv->Notify(); 314 RCCondition cv(&ml); 356 cv.SetTimeout(interleave); 376 hammer[active] = new Hammer(thread_scope, &ml, &cv, limit); 399 while (hammer[poll]->action < HammerData::sg_done) cv.Wait();
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ |
H A D | ptsynch.c | 120 PRCondVar *cv = notified->cv[index].cv; local 121 PR_ASSERT(NULL != cv); 122 PR_ASSERT(0 != notified->cv[index].times); 123 if (-1 == notified->cv[index].times) 125 rv = pthread_cond_broadcast(&cv->cv); 130 while (notified->cv[index].times-- > 0) 132 rv = pthread_cond_signal(&cv 247 pt_TimedWait( pthread_cond_t *cv, pthread_mutex_t *ml, PRIntervalTime timeout) argument 328 PRCondVar *cv = PR_NEW(PRCondVar); local 1062 PRCondVar *cv; local [all...] |
/vbox/src/recompiler/ |
H A D | cutils.c | 181 int cv; /* results of compare (bottom / top) */ local 374 cv = cmp(b_par, m2); 375 if (cv > 0) { 378 if (cv == 0) { 393 cv = cmp(t_par, m2); 394 if (cv < 0) { 397 if (cv == 0) {
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | uxproces.c | 131 PRCondVar *cv; member in struct:__anon17230 441 PR_NotifyCondVar(pr_wp.cv); 753 PR_WaitCondVar(pr_wp.cv, PR_INTERVAL_NO_TIMEOUT); 792 PR_WaitCondVar(pr_wp.cv, PR_INTERVAL_NO_TIMEOUT); 970 pr_wp.cv = PR_NewCondVar(pr_wp.ml); 971 PR_ASSERT(NULL != pr_wp.cv);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/ |
H A D | prinit.c | 797 PRCondVar *cv; member in struct:__anon17244 803 mod_init.cv = PR_NewCondVar(mod_init.ml); 804 PR_ASSERT(NULL != mod_init.cv); 811 PR_DestroyCondVar(mod_init.cv); 812 mod_init.cv = NULL; 826 PR_NotifyAllCondVar(mod_init.cv); 831 PR_WaitCondVar(mod_init.cv, PR_INTERVAL_NO_TIMEOUT); 851 PR_NotifyAllCondVar(mod_init.cv); 856 PR_WaitCondVar(mod_init.cv, PR_INTERVAL_NO_TIMEOUT);
|
H A D | prtpool.c | 64 PRCondVar *cv; member in struct:timer_jobq 76 PRCondVar *cv; member in struct:tp_jobq 223 PR_WaitCondVar(tp->jobq.cv, PR_INTERVAL_NO_TIMEOUT); 302 PR_NotifyCondVar(tp->jobq.cv); 543 PR_WaitCondVar(tp->timerq.cv, timeout); 577 if (NULL != tp->jobq.cv) 578 PR_DestroyCondVar(tp->jobq.cv); 588 if (NULL != tp->timerq.cv) 589 PR_DestroyCondVar(tp->timerq.cv); 615 tp->jobq.cv [all...] |