Home
last modified time | relevance | path

Searched refs:GetCurrentThreadId (Results 1 – 20 of 20) sorted by relevance

/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_mac.cpp70 if (GetCurrentThreadId() == kInvalidTid) { in lsan_register_worker_thread()
103 lsan_ctxt->parent_tid = GetCurrentThreadId(); in alloc_lsan_context()
150 int parent_tid = GetCurrentThreadId(); \
H A Dlsan_thread.cpp74 void ThreadFinish() { thread_registry->FinishThread(GetCurrentThreadId()); }
77 if (GetCurrentThreadId() == kMainTid) in EnsureMainThreadIDIsCorrect()
H A Dlsan_thread.h57 inline u32 GetCurrentThreadId() { in GetCurrentThreadId() function
H A Dlsan_fuchsia.cpp103 u32 parent_tid = GetCurrentThreadId(); in __sanitizer_before_thread_create_hook()
H A Dlsan_posix.cpp90 HandleDeadlySignal(siginfo, context, GetCurrentThreadId(), &OnStackUnwind, in OnStackUnwind()
H A Dlsan_interceptors.cpp454 uptr this_tid = GetCurrentThreadId(); in INTERCEPTOR()
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/
H A Dsysobjs.py137 def GetCurrentThreadId(self): member in SysObjects
138 res = self.vt.GetCurrentThreadId(self.sysobjects, byref(self.ulong))
/llvm-project/openmp/runtime/src/
H A Dkmp_wrapper_getpid.h58 #define __kmp_gettid() GetCurrentThreadId()
H A Dz_Windows_NT_util.cpp1025 this_thr->th.th_info.ds.ds_thread_id = GetCurrentThreadId(); in __kmp_launch_worker()
1055 this_thr->th.th_info.ds.ds_thread_id = GetCurrentThreadId(); in __kmp_launch_monitor()
1167 th->th.th_info.ds.ds_thread_id = GetCurrentThreadId(); in __kmp_create_worker()
/llvm-project/lldb/packages/Python/lldbsuite/test/make/
H A Dthread.h37 return static_cast<uint64_t>(::GetCurrentThreadId()); in get_thread_id()
/llvm-project/llvm/lib/Support/Windows/
H A DThreading.inc55 DWORD llvm_thread_get_current_id_impl() { return ::GetCurrentThreadId(); }
59 uint64_t llvm::get_threadid() { return uint64_t(::GetCurrentThreadId()); }
95 SetThreadName(::GetCurrentThreadId(), NameStr.data());
H A DSignals.inc864 ExceptionInfo.ThreadId = ::GetCurrentThreadId();
/llvm-project/openmp/runtime/test/affinity/format/
H A Dfields_values.c27 #define gettid GetCurrentThreadId
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_win.cpp86 const DWORD this_thread = GetCurrentThreadId(); in RunThread()
H A Dsanitizer_win.cpp109 // In contrast to POSIX, on Windows GetCurrentThreadId()
112 return GetCurrentThreadId(); in GetTid()
/llvm-project/libcxx/src/support/win32/
H A Dthread_win32.cpp170 __libcpp_thread_id __libcpp_thread_get_current_id() { return GetCurrentThreadId(); } in __libcpp_thread_get_current_id()
/llvm-project/third-party/unittest/googletest/src/
H A Dgtest-port.cc326 owner_thread_id_ = ::GetCurrentThreadId(); in Lock()
342 GTEST_CHECK_(owner_thread_id_ == ::GetCurrentThreadId()) in AssertHeld()
501 DWORD current_thread = ::GetCurrentThreadId(); in GetValueOnCurrentThread()
/llvm-project/llvm/lib/ExecutionEngine/IntelJITProfiling/
H A Dittnotify_config.h212 #define __itt_thread_id() GetCurrentThreadId()
/llvm-project/lldb/source/Plugins/Process/Windows/Common/
H A DDebuggerThread.cpp292 ::GetCurrentThreadId()); in DebugLoop()
/llvm-project/openmp/runtime/src/thirdparty/ittnotify/
H A Dittnotify_config.h277 #define __itt_thread_id() GetCurrentThreadId()