Home
last modified time | relevance | path

Searched refs:thread_t (Results 1 – 25 of 53) sorted by relevance

123

/freebsd/crypto/openssl/test/
H A Dthreadstest.h19 typedef unsigned int thread_t; typedef
21 static int run_thread(thread_t *t, void (*f)(void)) in run_thread()
27 static int wait_for_thread(thread_t thread) in wait_for_thread()
34 typedef HANDLE thread_t; typedef
46 static int run_thread(thread_t *t, void (*f)(void)) in run_thread()
52 static int wait_for_thread(thread_t thread) in wait_for_thread()
59 typedef pthread_t thread_t; typedef
71 static int run_thread(thread_t *t, void (*f)(void)) in run_thread()
76 static int wait_for_thread(thread_t thread) in wait_for_thread()
/freebsd/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(); in RunThread()
119 thread_t SuspendedThreadsListMac::GetThread(uptr index) const { in GetThread()
128 bool SuspendedThreadsListMac::ContainsThread(thread_t thread) const { in ContainsThread()
135 void SuspendedThreadsListMac::Append(thread_t thread) { in Append()
149 thread_t thread = GetThread(index); in GetRegistersAndSP()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DHostNativeThreadBase.h31 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 = LLDB_INVALID_HOST_THREAD;
H A DHostThread.h32 HostThread(lldb::thread_t thread);
37 lldb::thread_t Release();
44 bool EqualsThread(lldb::thread_t thread) const;
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DHostNativeThreadBase.cpp21 HostNativeThreadBase::HostNativeThreadBase(thread_t thread) in HostNativeThreadBase()
24 lldb::thread_t HostNativeThreadBase::GetSystemHandle() const { in GetSystemHandle()
41 bool HostNativeThreadBase::EqualsThread(lldb::thread_t thread) const { in EqualsThread()
45 lldb::thread_t HostNativeThreadBase::Release() { in Release()
46 lldb::thread_t result = m_thread; in Release()
H A DHostThread.cpp17 HostThread::HostThread(lldb::thread_t thread) in HostThread()
28 lldb::thread_t HostThread::Release() { return m_native_thread->Release(); } in Release()
44 bool HostThread::EqualsThread(lldb::thread_t thread) const { in EqualsThread()
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBHostOS.h33 static lldb::thread_t ThreadCreate(const char *name,
39 static bool ThreadCancel(lldb::thread_t thread, lldb::SBError *err);
43 static bool ThreadDetach(lldb::thread_t thread, lldb::SBError *err);
47 static bool ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result,
/freebsd/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-types.h43 typedef void *thread_t; // Host thread type typedef
58 typedef pthread_t thread_t; // Host thread type
69 #define LLDB_INVALID_HOST_THREAD ((lldb::thread_t)NULL)
/freebsd/tools/test/stress2/misc/
H A Dsyzkaller68.sh164 struct thread_t {
169 static struct thread_t threads[16];
175 struct thread_t* th = (struct thread_t*)arg;
192 struct thread_t* th = &threads[thread];
H A Dsyzkaller1.sh147 struct thread_t {
152 static struct thread_t threads[16];
158 struct thread_t* th = (struct thread_t*)arg;
175 struct thread_t* th = &threads[thread];
H A Dsyzkaller39.sh152 struct thread_t {
157 static struct thread_t threads[16];
163 struct thread_t* th = (struct thread_t*)arg;
182 struct thread_t* th = &threads[thread];
H A Dsyzkaller11.sh157 struct thread_t {
162 static struct thread_t threads[16];
168 struct thread_t* th = (struct thread_t*)arg;
187 struct thread_t* th = &threads[thread];
H A Dsyzkaller14.sh168 struct thread_t {
173 static struct thread_t threads[16];
179 struct thread_t* th = (struct thread_t*)arg;
198 struct thread_t* th = &threads[thread];
H A Dsyzkaller32.sh178 struct thread_t {
183 static struct thread_t threads[16];
189 struct thread_t* th = (struct thread_t*)arg;
206 struct thread_t* th = &threads[thread];
H A Dsyzkaller41.sh166 struct thread_t {
171 static struct thread_t threads[16];
177 struct thread_t* th = (struct thread_t*)arg;
194 struct thread_t* th = &threads[thread];
H A Dsyzkaller58.sh163 struct thread_t {
168 static struct thread_t threads[16];
174 struct thread_t* th = (struct thread_t*)arg;
191 struct thread_t* th = &threads[thread];
H A Dsyzkaller31.sh167 struct thread_t {
172 static struct thread_t threads[16];
178 struct thread_t* th = (struct thread_t*)arg;
197 struct thread_t* th = &threads[thread];
H A Dsyzkaller43.sh161 struct thread_t {
166 static struct thread_t threads[16];
172 struct thread_t* th = (struct thread_t*)arg;
189 struct thread_t* th = &threads[thread];
H A Dsyzkaller45.sh198 struct thread_t {
203 static struct thread_t threads[16];
209 struct thread_t* th = (struct thread_t*)arg;
228 struct thread_t* th = &threads[thread];
H A Dsyzkaller49.sh168 struct thread_t {
173 static struct thread_t threads[16];
179 struct thread_t* th = (struct thread_t*)arg;
196 struct thread_t* th = &threads[thread];
H A Dsyzkaller56.sh153 struct thread_t {
158 static struct thread_t threads[16];
164 struct thread_t* th = (struct thread_t*)arg;
181 struct thread_t* th = &threads[thread];
H A Dsyzkaller54.sh163 struct thread_t {
168 static struct thread_t threads[16];
174 struct thread_t* th = (struct thread_t*)arg;
191 struct thread_t* th = &threads[thread];
H A Dsyzkaller70.sh172 struct thread_t {
177 static struct thread_t threads[16];
183 struct thread_t* th = (struct thread_t*)arg;
200 struct thread_t* th = &threads[thread];
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBHostOS.cpp100 lldb::thread_t SBHostOS::ThreadCreate(const char *name, in ThreadCreate()
109 bool SBHostOS::ThreadCancel(lldb::thread_t thread, SBError *error_ptr) { in ThreadCreate()
114 bool SBHostOS::ThreadDetach(lldb::thread_t thread, SBError *error_ptr) { in ThreadCreate()
119 bool SBHostOS::ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result, in ThreadCreated()
/freebsd/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 *);

123