Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/
Ddebug_disable.cpp36 pthread_key_t g_disable_key; variable
39 if (g_debug == nullptr || pthread_getspecific(g_disable_key) != nullptr) { in DebugCallsDisabled()
46 int error = pthread_key_create(&g_disable_key, nullptr); in DebugDisableInitialize()
51 pthread_setspecific(g_disable_key, nullptr); in DebugDisableInitialize()
57 pthread_key_delete(g_disable_key); in DebugDisableFinalize()
62 pthread_setspecific(g_disable_key, reinterpret_cast<void*>(1)); in DebugDisableSet()
64 pthread_setspecific(g_disable_key, nullptr); in DebugDisableSet()