Searched refs:dead_thread_state (Results 1 – 1 of 1) sorted by relevance
353 static ThreadState *dead_thread_state = nullptr; variable367 if (dead_thread_state == nullptr) { in cur_thread()368 dead_thread_state = reinterpret_cast<ThreadState*>( in cur_thread()370 dead_thread_state->fast_state.SetIgnoreBit(); in cur_thread()371 dead_thread_state->ignore_interceptors = 1; in cur_thread()372 dead_thread_state->is_dead = true; in cur_thread()373 *const_cast<int*>(&dead_thread_state->tid) = -1; in cur_thread()374 CHECK_EQ(0, internal_mprotect(dead_thread_state, sizeof(ThreadState), in cur_thread()389 if (thr != dead_thread_state) { in cur_thread_finalize()390 __get_tls()[TLS_SLOT_TSAN] = dead_thread_state; in cur_thread_finalize()