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()685 __lsan::disable_counter++; in __lsan_disable()692 if (!__lsan::disable_counter && common_flags()->detect_leaks) { in __lsan_enable()696 __lsan::disable_counter--; in __lsan_enable()