/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/ |
H A D | ranfile.cpp | 95 RCLock *ml; member in class:HammerData 158 ml = lock; 270 RCEnter scope(ml); 312 RCLock ml; local 314 RCCondition cv(&ml); 376 hammer[active] = new Hammer(thread_scope, &ml, &cv, limit); 386 RCEnter scope(&ml); 398 ml.Acquire(); 400 ml.Release();
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ |
H A D | ptsynch.c | 248 pthread_cond_t *cv, pthread_mutex_t *ml, PRIntervalTime timeout) 267 rv = pthread_cond_timedwait(cv, ml, &tmo); 1088 PRCondVar *cvar, PRLock *ml, PRIntervalTime timeout) 1093 PR_ASSERT(_PT_PTHREAD_MUTEX_IS_LOCKED(ml->mutex)); 1095 rv = pthread_cond_wait(&cvar->cv, &ml->mutex); 1097 rv = pt_TimedWait(&cvar->cv, &ml->mutex, timeout); 247 pt_TimedWait( pthread_cond_t *cv, pthread_mutex_t *ml, PRIntervalTime timeout) argument
|
H A D | ptthread.c | 73 PRLock *ml; /* a lock to protect ourselves */ member in struct:_PT_Bookeeping 211 PR_Lock(pt_book.ml); 222 PR_Unlock(pt_book.ml); 227 PR_Lock(pt_book.ml); 248 PR_Unlock(pt_book.ml); 304 PR_Lock(pt_book.ml); 311 PR_Unlock(pt_book.ml); 483 PR_Lock(pt_book.ml); 487 PR_Unlock(pt_book.ml); 539 PR_Lock(pt_book.ml); [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | ranfile.c | 81 PRLock *ml; member in struct:Hammer_s 236 PR_Lock(cd->ml); 239 PR_Unlock(cd->ml); 280 PRLock *ml; local 336 ml = PR_NewLock(); 337 cv = PR_NewCondVar(ml); 354 hammer[active].ml = ml; 367 PR_Lock(ml); 369 PR_Unlock(ml); [all...] |
H A D | cltsrv.c | 161 PRLock *ml; member in struct:CSServer_s 189 PRLock *ml; member in struct:CSClient_s 259 PR_Lock(client->ml); 262 PR_Unlock(client->ml); 383 PR_Lock(client->ml); 387 PR_Unlock(client->ml); 397 PR_Lock(client->ml); 400 PR_Unlock(client->ml); 531 PR_Lock(server->ml); 534 PR_Unlock(server->ml); [all...] |
H A D | provider.c | 163 PRLock *ml; member in struct:CSServer_s 191 PRLock *ml; member in struct:CSClient_s 261 PR_Lock(client->ml); 264 PR_Unlock(client->ml); 384 PR_Lock(client->ml); 388 PR_Unlock(client->ml); 398 PR_Lock(client->ml); 401 PR_Unlock(client->ml); 532 PR_Lock(server->ml); 535 PR_Unlock(server->ml); [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/ |
H A D | prlayer.c | 616 PRLock *ml; member in struct:_PRIdentity_cache 661 PR_Lock(identity_cache.ml); 681 PR_Unlock(identity_cache.ml); 692 PR_Unlock(identity_cache.ml); 745 identity_cache.ml = PR_NewLock(); 746 PR_ASSERT(NULL != identity_cache.ml); 751 if (identity_cache.ml) 753 PR_DestroyLock(identity_cache.ml); 754 identity_cache.ml = NULL;
|
H A D | prmwait.c | 62 PRLock *ml; member in struct:__anon17220 82 PR_Lock(tm_vars.ml); 103 PR_Unlock(tm_vars.ml); 105 PR_Lock(tm_vars.ml); 119 PR_Unlock(tm_vars.ml); 141 PR_Lock(tm_vars.ml); 154 PR_Unlock(tm_vars.ml); 162 PR_Lock(tm_vars.ml); 176 PR_Unlock(tm_vars.ml); 183 tm_vars.ml [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/ |
H A D | uxproces.c | 128 PRLock *ml; member in struct:__anon17230 439 PR_Lock(pr_wp.ml); 443 PR_Unlock(pr_wp.ml); 492 op->doneCV = PR_NewCondVar(pr_wp.ml); 497 PR_Lock(pr_wp.ml); 517 PR_Unlock(pr_wp.ml); 751 PR_Lock(pr_wp.ml); 755 PR_Unlock(pr_wp.ml); 788 PR_Lock(pr_wp.ml); 794 PR_Unlock(pr_wp.ml); [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/ |
H A D | prinit.c | 796 PRLock *ml; member in struct:__anon17244 801 mod_init.ml = PR_NewLock(); 802 PR_ASSERT(NULL != mod_init.ml); 803 mod_init.cv = PR_NewCondVar(mod_init.ml); 809 PR_DestroyLock(mod_init.ml); 810 mod_init.ml = NULL; 824 PR_Lock(mod_init.ml); 827 PR_Unlock(mod_init.ml); 829 PR_Lock(mod_init.ml); 833 PR_Unlock(mod_init.ml); [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/ |
H A D | ntio.c | 200 PRLock *ml; /* a little protection */ member in struct:pt_TimedQueue 913 pt_tq.ml = PR_NewLock(); 914 PR_ASSERT(NULL != pt_tq.ml); 915 pt_tq.new_op = PR_NewCondVar(pt_tq.ml); 4337 PR_Lock(pt_tq.ml); 4345 PR_Unlock(pt_tq.ml); 4352 * We are not holding the pt_tq.ml lock now, so more items may 4381 PR_Lock(pt_tq.ml); 4411 PR_Unlock(pt_tq.ml); 4459 PR_Lock(pt_tq.ml); [all...] |