Searched refs:g_main_thread (Results 1 – 3 of 3) sorted by relevance
47 std::atomic<perfetto::base::PlatformThreadId> g_main_thread; variable104 if (!g_main_thread) in Initialize()105 g_main_thread = perfetto::base::GetThreadId(); in Initialize()333 if (perfetto::base::GetThreadId() == g_main_thread) in ResetIncrementalState()360 PERFETTO_DCHECK(g_main_thread); in WriteEvent()
641 static DWORD g_main_thread; variable645 GetCurrentThreadId() != g_main_thread) { in ExceptionHandler()666 g_main_thread = GetCurrentThreadId(); in EnableUnwindTestsImpl()730 static pthread_t g_main_thread; variable739 if (!pthread_equal(g_main_thread, pthread_self())) { in TrapHandler()760 g_main_thread = pthread_self(); in EnableUnwindTestsImpl()