Searched refs:disable_counter (Results 1 – 1 of 1) sorted by relevance
34 THREADLOCAL int disable_counter; variable35 bool DisabledInThisThread() { return disable_counter > 0; } in DisabledInThisThread()656 __lsan::disable_counter++; in __lsan_disable()663 if (!__lsan::disable_counter && common_flags()->detect_leaks) { in __lsan_enable()667 __lsan::disable_counter--; in __lsan_enable()