Home
last modified time | relevance | path

Searched refs:GetCurrentThread (Results 1 – 25 of 52) sorted by relevance

123

/freebsd-12.1/contrib/ntp/lib/isc/win32/
H A Dapp.c85 main_thread = GetCurrentThread(); in isc__app_start()
141 REQUIRE(main_thread == GetCurrentThread()); in isc__app_run()
251 blockedthread = GetCurrentThread(); in isc__app_block()
259 REQUIRE(blockedthread == GetCurrentThread()); in isc__app_unblock()
/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan_thread.cc94 thread_registry->FinishThread(GetCurrentThread()); in ThreadFinish()
100 if (GetCurrentThread() == kInvalidTid) in CurrentThreadContext()
103 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); in CurrentThreadContext()
124 if (GetCurrentThread() == 0) in EnsureMainThreadIDIsCorrect()
H A Dlsan_mac.cc71 if (GetCurrentThread() == kInvalidTid) { in lsan_register_worker_thread()
105 lsan_ctxt->parent_tid = GetCurrentThread(); in alloc_lsan_context()
152 int parent_tid = GetCurrentThread(); \
H A Dlsan_linux.cc23 u32 GetCurrentThread() { return current_thread_tid; } in GetCurrentThread() function
H A Dlsan_thread.h54 u32 GetCurrentThread();
H A Dlsan.cc80 HandleDeadlySignal(siginfo, context, GetCurrentThread(), &OnStackUnwind, in LsanOnDeadlySignal()
/freebsd-12.1/contrib/compiler-rt/lib/hwasan/
H A Dhwasan_thread.h104 Thread *GetCurrentThread();
108 ScopedTaggingDisabler() { GetCurrentThread()->DisableTagging(); } in ScopedTaggingDisabler()
109 ~ScopedTaggingDisabler() { GetCurrentThread()->EnableTagging(); } in ~ScopedTaggingDisabler()
H A Dhwasan.cc40 Thread *t = GetCurrentThread(); in EnterSymbolizer()
45 Thread *t = GetCurrentThread(); in ExitSymbolizer()
50 Thread *t = GetCurrentThread(); in IsInSymbolizer()
147 Thread *t = GetCurrentThread(); in GetStackTrace()
479 Thread *t = GetCurrentThread(); in __hwasan_generate_tag()
H A Dhwasan_interceptors.cc49 Thread *t = GetCurrentThread(); in IsInInterceptorScope()
55 Thread *t = GetCurrentThread(); in InterceptorScope()
60 Thread *t = GetCurrentThread(); in ~InterceptorScope()
H A Dhwasan_report.cc237 auto *sa = (t == GetCurrentThread() && current_stack_allocations) in PrintAddressDescription()
378 GetCurrentThread()->Announce(); in ReportTailOverwritten()
390 GetCurrentThread()->stack_allocations()); in ReportTagMismatch()
401 Thread *t = GetCurrentThread(); in ReportTagMismatch()
H A Dhwasan_allocator.cc122 tail_magic[i] = GetCurrentThread()->GenerateRandomTag(); in HwasanAllocatorInit()
149 Thread *t = GetCurrentThread(); in HwasanAllocate()
239 Thread *t = GetCurrentThread(); in HwasanDeallocate()
H A Dhwasan_linux.cc242 Thread *t = GetCurrentThread(); in __hwasan_thread_exit()
304 Thread *GetCurrentThread() { in GetCurrentThread() function
H A Dhwasan_thread.cc41 CHECK_EQ(GetCurrentThread(), this); in Init()
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_thread.cc404 AsanThread *GetCurrentThread() { in GetCurrentThread() function
439 AsanThread *t = GetCurrentThread(); in GetCurrentTidOrInvalid()
516 AsanThread *t = GetCurrentThread(); in __sanitizer_start_switch_fiber()
528 AsanThread *t = GetCurrentThread(); in __sanitizer_finish_switch_fiber()
H A Dasan_fuchsia.cc118 DCHECK_NE(GetCurrentThread(), this); in SetThreadStackAndTls()
119 DCHECK_NE(GetCurrentThread(), nullptr); in SetThreadStackAndTls()
H A Dasan_rtems.cc122 DCHECK_NE(GetCurrentThread(), this); in SetThreadStackAndTls()
123 DCHECK_NE(GetCurrentThread(), nullptr); in SetThreadStackAndTls()
H A Dasan_stack.h42 if ((t = GetCurrentThread()) && !t->isUnwinding()) { in GetStackTrace()
/freebsd-12.1/contrib/compiler-rt/lib/msan/
H A Dmsan_linux.cc202 MsanThread *GetCurrentThread() { in GetCurrentThread() function
234 MsanThread *GetCurrentThread() { in GetCurrentThread() function
H A Dmsan_thread.h66 MsanThread *GetCurrentThread();
H A Dmsan_allocator.cc153 MsanThread *t = GetCurrentThread(); in MsanAllocate()
202 MsanThread *t = GetCurrentThread(); in MsanDeallocate()
/freebsd-12.1/contrib/openmp/runtime/src/
H A Dkmp_affinity.h431 if (__kmp_SetThreadGroupAffinity(GetCurrentThread(), &ga, NULL) == 0) { in set_system_affinity()
440 if (!SetThreadAffinityMask(GetCurrentThread(), *mask)) { in set_system_affinity()
456 if (__kmp_GetThreadGroupAffinity(GetCurrentThread(), &ga) == 0) { in get_system_affinity()
479 retval = SetThreadAffinityMask(GetCurrentThread(), newMask); in get_system_affinity()
488 newMask = SetThreadAffinityMask(GetCurrentThread(), retval); in get_system_affinity()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_unwind_win.cc66 while (StackWalk64(machine_type, GetCurrentProcess(), GetCurrentThread(), in SlowUnwindStackWithContext()
/freebsd-12.1/contrib/gcc/
H A Dgthr-win32.h146 if (SetThreadPriority (GetCurrentThread (), sys_priority)) in __gthread_objc_thread_set_priority()
158 sys_priority = GetThreadPriority (GetCurrentThread ()); in __gthread_objc_thread_get_priority()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/
H A DHost.h134 static lldb::thread_t GetCurrentThread();
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/
H A DNativeThreadListDarwin.h96 NativeThreadDarwinSP GetCurrentThread();

123