Home
last modified time | relevance | path

Searched refs:thread_id (Results 1 – 25 of 72) sorted by relevance

123

/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_debugging.cc50 uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id, in AsanGetStack() argument
59 if (thread_id) *thread_id = chunk.AllocTid(); in AsanGetStack()
63 if (thread_id) *thread_id = chunk.FreeTid(); in AsanGetStack()
132 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_alloc_stack() argument
133 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true); in __asan_get_alloc_stack()
137 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_free_stack() argument
138 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false); in __asan_get_free_stack()
/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBTrace.cpp27 size_t offset, lldb::tid_t thread_id) { in GetTraceData() argument
37 process_sp->GetData(GetTraceUID(), thread_id, buffer, offset)); in GetTraceData()
44 size_t offset, lldb::tid_t thread_id) { in GetMetaData() argument
55 process_sp->GetMetaData(GetTraceUID(), thread_id, buffer, offset)); in GetMetaData()
61 void SBTrace::StopTrace(SBError &error, lldb::tid_t thread_id) { in StopTrace() argument
69 error.SetError(process_sp->StopTrace(GetTraceUID(), thread_id)); in StopTrace()
H A DSBTraceOptions.cpp85 void SBTraceOptions::setThreadID(lldb::tid_t thread_id) { in setThreadID() argument
87 m_traceoptions_sp->setThreadID(thread_id); in setThreadID()
/freebsd-12.1/contrib/gcc/
H A Dgthr-nks.h93 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
99 thread_id = NULL; in __gthread_objc_thread_detach()
101 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach()
104 thread_id = NULL; in __gthread_objc_thread_detach()
107 return thread_id; in __gthread_objc_thread_detach()
H A Dgthr-posix.h283 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
290 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach()
292 thread_id = NULL; in __gthread_objc_thread_detach()
294 return thread_id; in __gthread_objc_thread_detach()
307 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() local
312 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, &params) == 0) in __gthread_objc_thread_set_priority()
331 if (__gthrw_(pthread_setschedparam) (thread_id, policy, &params) == 0) in __gthread_objc_thread_set_priority()
H A Dgthr-posix95.h249 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
256 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach()
258 thread_id = NULL; in __gthread_objc_thread_detach()
260 return thread_id; in __gthread_objc_thread_detach()
273 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() local
278 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, &params) == 0) in __gthread_objc_thread_set_priority()
297 if (__gthrw_(pthread_setschedparam) (thread_id, policy, &params) == 0) in __gthread_objc_thread_set_priority()
H A Dgthr-dce.h158 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
168 thread_id = *(objc_thread_t *) &new_thread_handle; in __gthread_objc_thread_detach()
172 thread_id = NULL; in __gthread_objc_thread_detach()
174 return thread_id; in __gthread_objc_thread_detach()
H A Dgthr-solaris.h160 objc_thread_t thread_id; in __gthread_objc_thread_detach() local
169 thread_id = *(objc_thread_t *) &new_thread_id; in __gthread_objc_thread_detach()
171 thread_id = NULL; in __gthread_objc_thread_detach()
173 return thread_id; in __gthread_objc_thread_detach()
H A Dgthr-win32.h115 DWORD thread_id = 0; in __gthread_objc_thread_detach() local
119 arg, 0, &thread_id))) in __gthread_objc_thread_detach()
120 thread_id = 0; in __gthread_objc_thread_detach()
122 return (objc_thread_t) thread_id; in __gthread_objc_thread_detach()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/API/
H A DSBTrace.h53 lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID);
61 lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID);
86 lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID);
/freebsd-12.1/contrib/gdb/gdb/
H A Dada-tasks.c468 void *self_id, *caller, *thread_id = NULL; in info_tasks() local
527 thread_id = GET_CURRENT_THREAD (); in info_tasks()
581 if (thread_id) in info_tasks()
583 printf_filtered (pt->lwp == thread_id ? "*" : " "); in info_tasks()
585 printf_filtered (pt->thread == thread_id ? "*" : " "); in info_tasks()
667 if (state == Runnable && (thread_id && pt->lwp == thread_id)) in info_tasks()
669 if (state == Runnable && (thread_id && pt->thread == thread_id)) in info_tasks()
H A Dcorelow.c254 int thread_id; in add_to_thread_list() local
260 thread_id = atoi (bfd_section_name (abfd, asect) + 5); in add_to_thread_list()
262 add_thread (pid_to_ptid (thread_id)); in add_to_thread_list()
268 inferior_ptid = pid_to_ptid (thread_id); /* Yes, make it current */ in add_to_thread_list()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DThreadSpec.h66 bool TIDMatches(lldb::tid_t thread_id) const { in TIDMatches() argument
67 if (m_tid == LLDB_INVALID_THREAD_ID || thread_id == LLDB_INVALID_THREAD_ID) in TIDMatches()
70 return thread_id == m_tid; in TIDMatches()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DTSanRuntime.cpp271 uint64_t thread_id = in GetRenumberedThreadIds() local
290 thread_id_map[thread_id] = lldb_user_id; in GetRenumberedThreadIds()
947 int thread_id = in GenerateThreadName() local
965 is_write ? "mutating" : "read-only", thread_id); in GenerateThreadName()
968 result = Sprintf("modifying access by thread %d", thread_id); in GenerateThreadName()
972 size, addr_string.c_str(), thread_id); in GenerateThreadName()
977 int thread_id = in GenerateThreadName() local
979 result = Sprintf("Thread %d created", thread_id); in GenerateThreadName()
985 int thread_id = in GenerateThreadName() local
1005 int thread_id = in GenerateThreadName() local
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/
H A DTraceOptions.h43 void setThreadID(lldb::tid_t thread_id) { m_thread_id = thread_id; } in setThreadID() argument
/freebsd-12.1/gnu/usr.bin/gdb/kgdb/
H A Dtrgt.c289 int thread_id; in kgdb_switch_to_thread() local
291 thread_id = pid_to_thread_id(pid_to_ptid(tid)); in kgdb_switch_to_thread()
292 if (thread_id == 0) in kgdb_switch_to_thread()
294 snprintf(buf, sizeof(buf), "%d", thread_id); in kgdb_switch_to_thread()
/freebsd-12.1/contrib/compiler-rt/include/sanitizer/
H A Dasan_interface.h95 int *thread_id);
101 int *thread_id);
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Breakpoint/
H A DWatchpointOptions.h55 lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID);
180 void SetThreadID(lldb::tid_t thread_id);
/freebsd-12.1/contrib/googletest/googletest/src/
H A Dgtest-port.cc386 DWORD thread_id; in CreateThread() local
394 &thread_id); // Need a valid pointer for the call to work under Win98. in CreateThread()
510 static void OnThreadExit(DWORD thread_id) { in OnThreadExit() argument
511 GTEST_CHECK_(thread_id != 0) << ::GetLastError(); in OnThreadExit()
520 thread_to_thread_locals->find(thread_id); in OnThreadExit()
548 static void StartWatcherThreadFor(DWORD thread_id) { in StartWatcherThreadFor() argument
553 thread_id); in StartWatcherThreadFor()
562 reinterpret_cast<LPVOID>(new ThreadIdAndHandle(thread_id, thread)), in StartWatcherThreadFor()
/freebsd-12.1/usr.bin/top/
H A Dtop.c284 ps.thread_id = false; in main()
425 ps.thread_id = !ps.thread_id; in main()
969 ps.thread_id = !ps.thread_id; in main()
972 ps.thread_id ? "tid" : "pid"); in main()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.cpp630 bool NativeProcessNetBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
633 if (thread->GetID() == thread_id) { in HasThreadNoLock()
643 NativeThreadNetBSD &NativeProcessNetBSD::AddThread(lldb::tid_t thread_id) { in AddThread() argument
646 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
648 assert(!HasThreadNoLock(thread_id) && in AddThread()
653 SetCurrentThreadID(thread_id); in AddThread()
655 m_threads.push_back(llvm::make_unique<NativeThreadNetBSD>(*this, thread_id)); in AddThread()
H A DNativeProcessNetBSD.h105 bool HasThreadNoLock(lldb::tid_t thread_id);
107 NativeThreadNetBSD &AddThread(lldb::tid_t thread_id);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/
H A DNativeProcessDarwin.h310 bool HasThreadNoLock(lldb::tid_t thread_id);
312 bool StopTrackingThread(lldb::tid_t thread_id);
314 NativeThreadDarwinSP AddThread(lldb::tid_t thread_id);
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_linux_libcdep.cc95 bool ContainsTid(tid_t thread_id) const;
136 bool SuspendThread(tid_t thread_id);
524 bool SuspendedThreadsListLinux::ContainsTid(tid_t thread_id) const { in ContainsTid()
526 if (thread_ids_[i] == thread_id) return true; in ContainsTid()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DThreadPlanStepUntil.cpp45 lldb::user_id_t thread_id = m_thread.GetID(); in ThreadPlanStepUntil() local
60 return_bp->SetThreadID(thread_id); in ThreadPlanStepUntil()
73 until_bp->SetThreadID(thread_id); in ThreadPlanStepUntil()

123