Searched refs:thread_t (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/lldb/bindings/interface/
H A DSBHostOS.i30 static lldb::thread_t
37 ThreadCancel (lldb::thread_t thread,
41 ThreadDetach (lldb::thread_t thread,
44 ThreadJoin (lldb::thread_t thread,
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DHostNativeThreadBase.h30 explicit HostNativeThreadBase(lldb::thread_t thread);
37 virtual bool EqualsThread(lldb::thread_t thread) const;
38 lldb::thread_t Release();
40 lldb::thread_t GetSystemHandle() const;
47 lldb::thread_t m_thread;
H A DHostThread.h32 HostThread(lldb::thread_t thread);
37 lldb::thread_t Release();
44 bool EqualsThread(lldb::thread_t thread) const;
H A DHost.h126 static lldb::thread_t GetCurrentThread();
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/API/
H A DSBHostOS.h29 static lldb::thread_t ThreadCreate(const char *name,
33 static bool ThreadCancel(lldb::thread_t thread, lldb::SBError *err);
35 static bool ThreadDetach(lldb::thread_t thread, lldb::SBError *err);
36 static bool ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DHostNativeThreadBase.cpp23 HostNativeThreadBase::HostNativeThreadBase(thread_t thread)
26 lldb::thread_t HostNativeThreadBase::GetSystemHandle() const {
43 bool HostNativeThreadBase::EqualsThread(lldb::thread_t thread) const {
47 lldb::thread_t HostNativeThreadBase::Release() {
48 lldb::thread_t result = m_thread;
H A DHostThread.cpp17 HostThread::HostThread(lldb::thread_t thread)
28 lldb::thread_t HostThread::Release() { return m_native_thread->Release(); }
44 bool HostThread::EqualsThread(lldb::thread_t thread) const {
H A DThreadLauncher.cpp30 lldb::thread_t thread;
32 thread = (lldb::thread_t)::_beginthreadex(
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/posix/
H A DHostThreadPosix.h21 HostThreadPosix(lldb::thread_t thread);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_mac.cpp27 thread_t thread;
35 thread_t GetThread(uptr index) const;
37 bool ContainsThread(thread_t thread) const;
38 void Append(thread_t thread);
65 thread_t thread_self = mach_thread_self();
115 thread_t SuspendedThreadsListMac::GetThread(uptr index) const {
124 bool SuspendedThreadsListMac::ContainsThread(thread_t thread) const {
131 void SuspendedThreadsListMac::Append(thread_t thread) {
145 thread_t thread = GetThread(index);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Darwin/
H A DNativeThreadDarwin.h42 GetGloballyUniqueThreadIDForMachPortID(::thread_t mach_port_id);
46 ::thread_t mach_thread_port = 0);
92 static bool GetBasicInfo(::thread_t thread,
120 thread_t GetMachPortNumber() const { return m_mach_thread_port; }
122 static bool MachPortNumberIsValid(::thread_t thread);
140 ::thread_t m_mach_thread_port;
H A DNativeThreadDarwin.cpp24 ::thread_t mach_port_id) {
42 ::thread_t mach_thread_port)
238 bool NativeThreadDarwin::MachPortNumberIsValid(::thread_t thread) {
239 return thread != (::thread_t)(0);
248 bool NativeThreadDarwin::GetBasicInfo(::thread_t thread,
H A DNativeThreadListDarwin.h114 GetThreadByMachPortNumber(::thread_t mach_port_number) const;
116 lldb::tid_t GetThreadIDByMachPortNumber(::thread_t mach_port_number) const;
118 thread_t GetMachPortNumberByThreadID(lldb::tid_t globally_unique_id) const;
H A DMachException.h49 thread_t thread_port;
117 thread_t thread_port; // Set to THREAD_NULL for any thread
H A DNativeThreadListDarwin.cpp126 thread_t mach_port_number = GetMachPortNumberByThreadID (tid);
162 ::thread_t mach_port_number) const {
172 ::thread_t mach_port_number) const {
183 thread_t
365 const ::thread_t mach_port_num = thread_list[idx];
401 (vm_size_t)(thread_list_count * sizeof(::thread_t));
466 thread_t solo_thread = THREAD_NULL;
/freebsd-11-stable/contrib/llvm-project/lldb/source/API/
H A DSBHostOS.cpp105 lldb::thread_t SBHostOS::ThreadCreate(const char *name,
108 LLDB_RECORD_DUMMY(lldb::thread_t, SBHostOS, ThreadCreate,
129 bool SBHostOS::ThreadCancel(lldb::thread_t thread, SBError *error_ptr) {
131 (lldb::thread_t, lldb::SBError *), thread,
143 bool SBHostOS::ThreadDetach(lldb::thread_t thread, SBError *error_ptr) {
145 (lldb::thread_t, lldb::SBError *), thread,
162 bool SBHostOS::ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result,
166 (lldb::thread_t, lldb::thread_result_t *, lldb::SBError *), thread,
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-types.h18 // lldb::thread_t The native thread type for spawned threads on the
41 typedef void *thread_t; // Host thread type typedef in namespace:lldb
58 typedef pthread_t thread_t; // Host thread type
79 #define LLDB_INVALID_HOST_THREAD ((lldb::thread_t)NULL)
/freebsd-11-stable/lib/libthread_db/
H A Dthread_db.h62 typedef long thread_t; /* Must be an integral type. */ typedef
67 thread_t th_tid;
179 thread_t ti_tid;
217 td_err_e td_ta_map_id2thr(const td_thragent_t *, thread_t, td_thrhandle_t *);
H A Dthread_db_int.h37 thread_t ti_tid;
69 td_err_e (*to_ta_map_id2thr)(const td_thragent_t *, thread_t,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DHostThreadPosix.cpp20 HostThreadPosix::HostThreadPosix(lldb::thread_t thread)
/freebsd-11-stable/contrib/gcc/
H A Dgthr-solaris.h57 thread_t owner;
161 thread_t new_thread_id = 0;
495 mutex->owner = (thread_t) 0;
504 thread_t me = __gthrw_(thr_self) ();
522 thread_t me = __gthrw_(thr_self) ();
543 mutex->owner = (thread_t) 0;
/freebsd-11-stable/cddl/contrib/opensolaris/head/
H A Dthread.h40 typedef pthread_t thread_t; typedef
77 void *arg, long flags, thread_t *new_thread_ID)
/freebsd-11-stable/contrib/gdb/gdb/
H A Dgnu-nat.h41 thread_t port; /* The task or thread port. */
H A Dgdb_thread_db.h257 typedef pthread_t thread_t; typedef
278 thread_t ti_tid; /* Thread ID returned by
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dtaskq.c45 thread_t *tq_threadlist;
272 tq->tq_threadlist = kmem_alloc(nthreads * sizeof (thread_t), KM_SLEEP);
315 kmem_free(tq->tq_threadlist, nthreads * sizeof (thread_t));
335 if (tq->tq_threadlist[i] == (thread_t)(uintptr_t)t)

Completed in 106 milliseconds

12