| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stoptheworld_mac.cc | 28 thread_t thread; 36 thread_t GetThread(uptr index) const; 38 bool ContainsThread(thread_t thread) const; 39 void Append(thread_t thread); 66 thread_t thread_self = mach_thread_self(); in RunThread() 116 thread_t SuspendedThreadsListMac::GetThread(uptr index) const { in GetThread() 125 bool SuspendedThreadsListMac::ContainsThread(thread_t thread) const { in ContainsThread() 132 void SuspendedThreadsListMac::Append(thread_t thread) { in Append() 146 thread_t thread = GetThread(index); in GetRegistersAndSP()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/ |
| H A D | HostNativeThreadBase.h | 31 explicit HostNativeThreadBase(lldb::thread_t thread); 38 virtual bool EqualsThread(lldb::thread_t thread) const; 39 lldb::thread_t Release(); 41 lldb::thread_t GetSystemHandle() const; 48 lldb::thread_t m_thread;
|
| H A D | HostThread.h | 35 HostThread(lldb::thread_t thread); 40 lldb::thread_t Release(); 47 bool EqualsThread(lldb::thread_t thread) const;
|
| H A D | Host.h | 134 static lldb::thread_t GetCurrentThread();
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/ |
| H A D | HostNativeThreadBase.cpp | 24 HostNativeThreadBase::HostNativeThreadBase(thread_t thread) in HostNativeThreadBase() 27 lldb::thread_t HostNativeThreadBase::GetSystemHandle() const { in GetSystemHandle() 44 bool HostNativeThreadBase::EqualsThread(lldb::thread_t thread) const { in EqualsThread() 48 lldb::thread_t HostNativeThreadBase::Release() { in Release() 49 lldb::thread_t result = m_thread; in Release()
|
| H A D | HostThread.cpp | 18 HostThread::HostThread(lldb::thread_t thread) in HostThread() 29 lldb::thread_t HostThread::Release() { return m_native_thread->Release(); } in Release() 45 bool HostThread::EqualsThread(lldb::thread_t thread) const { in EqualsThread()
|
| H A D | ThreadLauncher.cpp | 36 lldb::thread_t thread; in LaunchThread() 38 thread = (lldb::thread_t)::_beginthreadex( in LaunchThread() 41 if (thread == (lldb::thread_t)(-1L)) in LaunchThread()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/ |
| H A D | NativeThreadDarwin.h | 43 GetGloballyUniqueThreadIDForMachPortID(::thread_t mach_port_id); 47 ::thread_t mach_thread_port = 0); 99 static bool GetBasicInfo(::thread_t thread, 129 thread_t GetMachPortNumber() const { return m_mach_thread_port; } in GetMachPortNumber() 131 static bool MachPortNumberIsValid(::thread_t thread); 153 ::thread_t m_mach_thread_port;
|
| H A D | NativeThreadDarwin.cpp | 25 ::thread_t mach_port_id) { in GetGloballyUniqueThreadIDForMachPortID() 43 ::thread_t mach_thread_port) in NativeThreadDarwin() 239 bool NativeThreadDarwin::MachPortNumberIsValid(::thread_t thread) { in MachPortNumberIsValid() 240 return thread != (::thread_t)(0); in MachPortNumberIsValid() 249 bool NativeThreadDarwin::GetBasicInfo(::thread_t thread, in GetBasicInfo()
|
| H A D | NativeThreadListDarwin.h | 115 GetThreadByMachPortNumber(::thread_t mach_port_number) const; 117 lldb::tid_t GetThreadIDByMachPortNumber(::thread_t mach_port_number) const; 119 thread_t GetMachPortNumberByThreadID(lldb::tid_t globally_unique_id) const;
|
| H A D | NativeThreadListDarwin.cpp | 127 thread_t mach_port_number = GetMachPortNumberByThreadID (tid); 163 ::thread_t mach_port_number) const { in GetThreadByMachPortNumber() 173 ::thread_t mach_port_number) const { in GetThreadIDByMachPortNumber() 184 thread_t 366 const ::thread_t mach_port_num = thread_list[idx]; in UpdateThreadList() 402 (vm_size_t)(thread_list_count * sizeof(::thread_t)); in UpdateThreadList() 467 thread_t solo_thread = THREAD_NULL; in ProcessWillResume()
|
| H A D | MachException.h | 50 thread_t thread_port; 118 thread_t thread_port; // Set to THREAD_NULL for any thread
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/API/ |
| H A D | SBHostOS.h | 30 static lldb::thread_t ThreadCreate(const char *name, 34 static bool ThreadCancel(lldb::thread_t thread, lldb::SBError *err); 36 static bool ThreadDetach(lldb::thread_t thread, lldb::SBError *err); 37 static bool ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result,
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/ |
| H A D | lldb-types.h | 44 typedef void *thread_t; // Host thread type typedef 63 typedef pthread_t thread_t; // Host thread type typedef 84 #define LLDB_INVALID_HOST_THREAD ((lldb::thread_t)NULL)
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/API/ |
| H A D | SBHostOS.cpp | 97 lldb::thread_t SBHostOS::ThreadCreate(const char *name, in ThreadCreate() 119 bool SBHostOS::ThreadCancel(lldb::thread_t thread, SBError *error_ptr) { in ThreadCancel() 129 bool SBHostOS::ThreadDetach(lldb::thread_t thread, SBError *error_ptr) { in ThreadDetach() 144 bool SBHostOS::ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result, in ThreadJoin()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | gthr-solaris.h | 57 thread_t owner; 161 thread_t new_thread_id = 0; in __gthread_objc_thread_detach() 495 mutex->owner = (thread_t) 0; in __gthread_recursive_mutex_init_function() 504 thread_t me = __gthrw_(thr_self) (); in __gthread_recursive_mutex_lock() 522 thread_t me = __gthrw_(thr_self) (); in __gthread_recursive_mutex_trylock() 543 mutex->owner = (thread_t) 0; in __gthread_recursive_mutex_unlock()
|
| /freebsd-12.1/lib/libthread_db/ |
| H A D | thread_db.h | 64 typedef long thread_t; /* Must be an integral type. */ typedef 69 thread_t th_tid; 181 thread_t ti_tid; 219 td_err_e td_ta_map_id2thr(const td_thragent_t *, thread_t, td_thrhandle_t *);
|
| H A D | thread_db_int.h | 39 thread_t ti_tid; 71 td_err_e (*to_ta_map_id2thr)(const td_thragent_t *, thread_t,
|
| /freebsd-12.1/cddl/contrib/opensolaris/head/ |
| H A D | thread.h | 40 typedef pthread_t thread_t; typedef 77 void *arg, long flags, thread_t *new_thread_ID) in thr_create()
|
| /freebsd-12.1/cddl/contrib/opensolaris/lib/libzpool/common/ |
| H A D | taskq.c | 45 thread_t *tq_threadlist; 272 tq->tq_threadlist = kmem_alloc(nthreads * sizeof (thread_t), KM_SLEEP); in taskq_create() 315 kmem_free(tq->tq_threadlist, nthreads * sizeof (thread_t)); in taskq_destroy() 335 if (tq->tq_threadlist[i] == (thread_t)(uintptr_t)t) in taskq_member()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/posix/ |
| H A D | HostThreadPosix.h | 22 HostThreadPosix(lldb::thread_t thread);
|
| /freebsd-12.1/sys/ddb/ |
| H A D | db_break.c | 313 thread_t thread; in db_map_current() 328 thread_t thread; in db_map_addr()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Host/posix/ |
| H A D | HostThreadPosix.cpp | 21 HostThreadPosix::HostThreadPosix(lldb::thread_t thread) in HostThreadPosix()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | gnu-nat.h | 41 thread_t port; /* The task or thread port. */
|
| H A D | gdb_thread_db.h | 257 typedef pthread_t thread_t; typedef 278 thread_t ti_tid; /* Thread ID returned by
|