Searched refs:tls_cpu_intensive_work_disallowed (Results 1 – 1 of 1) sorted by relevance
51 ABSL_CONST_INIT thread_local BooleanWithStack tls_cpu_intensive_work_disallowed; variable137 cpu_resetter_(&tls_cpu_intensive_work_disallowed, in ScopedAllowUnresponsiveTasksForTesting()151 DCHECK(!tls_cpu_intensive_work_disallowed) in ~ScopedAllowUnresponsiveTasksForTesting()155 << tls_cpu_intensive_work_disallowed; in ~ScopedAllowUnresponsiveTasksForTesting()177 tls_cpu_intensive_work_disallowed = BooleanWithStack(false); in ResetThreadRestrictionsForTesting()209 DCHECK(!tls_cpu_intensive_work_disallowed) in AssertLongCPUWorkAllowed()214 << tls_cpu_intensive_work_disallowed; in AssertLongCPUWorkAllowed()220 tls_cpu_intensive_work_disallowed = BooleanWithStack(true); in DisallowUnresponsiveTasks()