Lines Matching defs:g_mutex
103 // `g_mutex` protects the composition of `g_wait_list` (i.e. no elements may be
108 base::LazyMutex g_mutex = LAZY_MUTEX_INITIALIZER;
133 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer());
171 g_mutex.Pointer()->AssertHeld();
250 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer());
384 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer());
485 node->cond_.WaitFor(g_mutex.Pointer(), time_until_timeout);
488 node->cond_.Wait(g_mutex.Pointer());
547 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer());
662 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer());
747 // may allocate memory. To avoid deadlocks, we shouldn't be holding g_mutex.
823 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer());
856 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer());
877 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer());
922 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer());
946 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer());
967 NoGarbageCollectionMutexGuard lock_guard(g_mutex.Pointer());