Searched refs:g_singleton_disallowed (Results 1 – 1 of 1) sorted by relevance
21 g_singleton_disallowed = LAZY_INSTANCE_INITIALIZER; variable115 g_singleton_disallowed.Get().Set(false); in ResetThreadRestrictionsForTesting()137 bool previous_disallowed = g_singleton_disallowed.Get().Get(); in SetSingletonAllowed()138 g_singleton_disallowed.Get().Set(!allowed); in SetSingletonAllowed()144 if (g_singleton_disallowed.Get().Get()) { in AssertSingletonAllowed()