Home
last modified time | relevance | path

Searched refs:g_base_sync_primitives_disallowed (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/base/threading/
Dthread_restrictions.cc23 LazyInstance<ThreadLocalBoolean>::Leaky g_base_sync_primitives_disallowed = variable
62 g_base_sync_primitives_disallowed.Get().Set(true); in DisallowBaseSyncPrimitives()
66 : was_disallowed_(g_base_sync_primitives_disallowed.Get().Get()) { in ScopedAllowBaseSyncPrimitives()
70 g_base_sync_primitives_disallowed.Get().Set(false); in ScopedAllowBaseSyncPrimitives()
74 DCHECK(!g_base_sync_primitives_disallowed.Get().Get()); in ~ScopedAllowBaseSyncPrimitives()
75 g_base_sync_primitives_disallowed.Get().Set(was_disallowed_); in ~ScopedAllowBaseSyncPrimitives()
80 : was_disallowed_(g_base_sync_primitives_disallowed.Get().Get()) { in ScopedAllowBaseSyncPrimitivesOutsideBlockingScope()
81 g_base_sync_primitives_disallowed.Get().Set(false); in ScopedAllowBaseSyncPrimitivesOutsideBlockingScope()
86 DCHECK(!g_base_sync_primitives_disallowed.Get().Get()); in ~ScopedAllowBaseSyncPrimitivesOutsideBlockingScope()
87 g_base_sync_primitives_disallowed.Get().Set(was_disallowed_); in ~ScopedAllowBaseSyncPrimitivesOutsideBlockingScope()
[all …]