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

123

/freebsd-current/crypto/openssl/test/
H A Dthreadstest.h19 typedef unsigned int thread_t; typedef
21 static int run_thread(thread_t *t, void (*f)(void))
27 static int wait_for_thread(thread_t thread)
34 typedef HANDLE thread_t; typedef
46 static int run_thread(thread_t *t, void (*f)(void))
52 static int wait_for_thread(thread_t thread)
59 typedef pthread_t thread_t; typedef
71 static int run_thread(thread_t *t, void (*f)(void))
76 static int wait_for_thread(thread_t thread)
H A Dthreadstest_fips.c30 thread_t thread;
/freebsd-current/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-current/contrib/llvm-project/lldb/source/Host/common/
H A DHostNativeThreadBase.cpp21 HostNativeThreadBase::HostNativeThreadBase(thread_t thread)
24 lldb::thread_t HostNativeThreadBase::GetSystemHandle() const {
41 bool HostNativeThreadBase::EqualsThread(lldb::thread_t thread) const {
45 lldb::thread_t HostNativeThreadBase::Release() {
46 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.cpp31 lldb::thread_t thread;
33 thread = (lldb::thread_t)::_beginthreadex(
/freebsd-current/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-current/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-types.h20 // lldb::thread_t The native thread type for spawned threads on the
33 // LLDB_INVALID_HOST_THREAD The value of an invalid lldb::thread_t
43 typedef void *thread_t; // Host thread type typedef in namespace:lldb
58 typedef pthread_t thread_t; // Host thread type typedef in namespace:lldb::lldb
69 #define LLDB_INVALID_HOST_THREAD ((lldb::thread_t)NULL)
/freebsd-current/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();
119 thread_t SuspendedThreadsListMac::GetThread(uptr index) const {
128 bool SuspendedThreadsListMac::ContainsThread(thread_t thread) const {
135 void SuspendedThreadsListMac::Append(thread_t thread) {
149 thread_t thread = GetThread(index);
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Host/posix/
H A DHostThreadPosix.h22 HostThreadPosix(lldb::thread_t thread);
/freebsd-current/contrib/llvm-project/lldb/source/API/
H A DSBHostOS.cpp100 lldb::thread_t SBHostOS::ThreadCreate(const char *name,
109 bool SBHostOS::ThreadCancel(lldb::thread_t thread, SBError *error_ptr) {
114 bool SBHostOS::ThreadDetach(lldb::thread_t thread, SBError *error_ptr) {
119 bool SBHostOS::ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result,
/freebsd-current/contrib/llvm-project/lldb/source/Host/posix/
H A DHostThreadPosix.cpp20 HostThreadPosix::HostThreadPosix(lldb::thread_t thread)
/freebsd-current/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 *);
/freebsd-current/tools/test/stress2/misc/
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 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 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 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 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 Dsyzkaller61.sh196 struct thread_t {
201 static struct thread_t threads[16];
207 struct thread_t* th = (struct thread_t*)arg;
224 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 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 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];

Completed in 216 milliseconds

123