Searched refs:g_disable_key (Results 1 – 1 of 1) sorted by relevance
35 pthread_key_t g_disable_key; variable38 if (g_debug == nullptr || pthread_getspecific(g_disable_key) != nullptr) { in DebugCallsDisabled()45 int error = pthread_key_create(&g_disable_key, nullptr); in DebugDisableInitialize()50 pthread_setspecific(g_disable_key, nullptr); in DebugDisableInitialize()56 pthread_key_delete(g_disable_key); in DebugDisableFinalize()61 pthread_setspecific(g_disable_key, reinterpret_cast<void*>(1)); in DebugDisableSet()63 pthread_setspecific(g_disable_key, nullptr); in DebugDisableSet()