Home
last modified time | relevance | path

Searched refs:pthread_self (Results 1 – 25 of 153) sorted by relevance

1234567

/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DDbeThread.cc44 __LINE__, (unsigned long long) pthread_self ()); in thread_pool_loop()
59 __LINE__, (unsigned long long) pthread_self (), q->id); in thread_pool_loop()
63 __LINE__, (unsigned long long) pthread_self (), q->id); in thread_pool_loop()
70 __LINE__, (unsigned long long) pthread_self ()); in thread_pool_loop()
75 __LINE__, (unsigned long long) pthread_self ()); in thread_pool_loop()
80 __LINE__, (unsigned long long) pthread_self ()); in thread_pool_loop()
130 __LINE__, (unsigned long long) pthread_self (), in get_queue()
149 __LINE__, (unsigned long long) pthread_self (), max_threads, q->id); in put_queue()
159 __LINE__, (unsigned long long) pthread_self (), max_threads, q->id); in put_queue()
204 __LINE__, (unsigned long long) pthread_self (), q->id); in wait_queues()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DDbeThread.cc44 __LINE__, (unsigned long long) pthread_self ()); in thread_pool_loop()
59 __LINE__, (unsigned long long) pthread_self (), q->id); in thread_pool_loop()
63 __LINE__, (unsigned long long) pthread_self (), q->id); in thread_pool_loop()
70 __LINE__, (unsigned long long) pthread_self ()); in thread_pool_loop()
75 __LINE__, (unsigned long long) pthread_self ()); in thread_pool_loop()
80 __LINE__, (unsigned long long) pthread_self ()); in thread_pool_loop()
130 __LINE__, (unsigned long long) pthread_self (), in get_queue()
149 __LINE__, (unsigned long long) pthread_self (), max_threads, q->id); in put_queue()
159 __LINE__, (unsigned long long) pthread_self (), max_threads, q->id); in put_queue()
204 __LINE__, (unsigned long long) pthread_self (), q->id); in wait_queues()
[all …]
/netbsd-src/regress/sys/kern/select/
H A Dselect.c69 printf("[%p] write %d\n", (void *)pthread_self(), fd); in dowrite()
118 printf("[%p] select start to=%lu\n", (void *)pthread_self(), in f()
124 (void *)pthread_self(), ret); in f()
132 (void *)pthread_self(), ret); in f()
138 (void *)pthread_self(), ret); in f()
148 (void *)pthread_self(), fd); in f()
152 (void *)pthread_self()); in f()
169 (void *)pthread_self(), ret, nfd); in f()
/netbsd-src/tests/lib/libc/setjmp/
H A Dt_threadjmp.c96 ATF_REQUIRE(myself == pthread_self()); in aborthandler()
110 myself = pthread_self(); in h_check()
127 ATF_REQUIRE(myself == pthread_self()); in h_check()
137 ATF_REQUIRE(myself == pthread_self()); in h_check()
141 ATF_REQUIRE(myself == pthread_self()); in h_check()
145 ATF_REQUIRE(myself == pthread_self()); in h_check()
/netbsd-src/tests/lib/libpthread/
H A Dt_kill.c85 self = pthread_self(); in sighandler()
120 mainthread = pthread_self(); in ATF_TC_BODY()
130 self = pthread_self(); in ATF_TC_BODY()
H A Dt_swapcontext.c59 nself = (void *)pthread_self(); in swapfunc()
76 oself = (void *)pthread_self(); in threadfunc()
H A Dt_name.c54 pthread_t self = pthread_self(); in threadfunc()
76 pthread_t thr, self = pthread_self(); in ATF_TC_BODY()
H A Dt_join.c79 caller = pthread_self(); in threadfunc1()
156 ATF_REQUIRE(pthread_getattr_np(pthread_self(), &attr) == 0); in threadfunc2()
/netbsd-src/tests/usr.bin/cc/
H A Dt_tsan_signal_errno.sh71 mainth = pthread_self();
99 mainth = pthread_self();
133 mainth = pthread_self();
167 mainth = pthread_self();
/netbsd-src/tests/usr.bin/c++/
H A Dt_tsan_signal_errno.sh71 mainth = pthread_self();
99 mainth = pthread_self();
133 mainth = pthread_self();
167 mainth = pthread_self();
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_platform_mac.cpp85 uptr thread_identity = (uptr)pthread_self(); in cur_thread_location()
214 if (thread == pthread_self()) { in my_pthread_introspection_hook()
225 if (thread == pthread_self()) { in my_pthread_introspection_hook()
257 main_thread_identity = (uptr)pthread_self(); in InitializePlatform()
292 uptr thread_identity = (uptr)pthread_self(); in ImitateTlsWrite()
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dctfmerge.c411 (uintmax_t)(uintptr_t)pthread_self(), in wip_add_work()
503 (uintmax_t)(uintptr_t)pthread_self()); in worker_runphase2()
543 (uintmax_t)(uintptr_t)pthread_self(), in worker_runphase2()
566 (uintmax_t)(uintptr_t)pthread_self(), (void *)pow2, in worker_runphase2()
590 (uintmax_t)(uintptr_t)pthread_self()); in worker_thread()
595 (uintmax_t)(uintptr_t)pthread_self()); in worker_thread()
602 (uintmax_t)(uintptr_t)pthread_self(), in worker_thread()
607 (uintmax_t)(uintptr_t)pthread_self()); in worker_thread()
612 (uintmax_t)(uintptr_t)pthread_self()); in worker_thread()
641 (uintmax_t)(uintptr_t)pthread_self(), name); in merge_ctf_cb()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/Unix/
H A DThreading.inc124 return uint64_t(pthread_self());
170 ::pthread_setname_np(::pthread_self(), NameStr.data());
174 ::pthread_set_name_np(::pthread_self(), NameStr.data());
176 ::pthread_setname_np(::pthread_self(), "%s",
225 ::pthread_getname_np(::pthread_self(), buf, len);
231 ::pthread_get_name_np(::pthread_self(), buf, len);
238 if (0 == ::pthread_getname_np(::pthread_self(), Buffer, len))
255 pthread_self(),
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cris/c/
H A Dthread2.c17 if (pthread_getschedparam (pthread_self (), &policy, &param) != 0 in main()
22 if (pthread_setschedparam (pthread_self (), SCHED_OTHER, &param) != 0 in main()
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/pa/
H A Dgthr-dce.h104 __gthrw(pthread_self) in __gthrw()
207 if (pthread_setprio (__gthrw_(pthread_self) (), sys_priority) >= 0) in __gthread_objc_thread_set_priority()
222 if ((sys_priority = pthread_getprio (__gthrw_(pthread_self) ())) >= 0) in __gthread_objc_thread_get_priority()
266 pthread_t self = __gthrw_(pthread_self) (); in __gthread_objc_thread_id()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_platform_mac.cc77 ThreadState **thread_identity = (ThreadState **)pthread_self(); in cur_thread_location()
206 if (thread == pthread_self()) { in my_pthread_introspection_hook()
217 if (thread == pthread_self()) { in my_pthread_introspection_hook()
250 main_thread_identity = (uptr)pthread_self(); in InitializePlatform()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_platform_mac.cc79 ThreadState **thread_identity = (ThreadState **)pthread_self(); in cur_thread_location()
208 if (thread == pthread_self()) { in my_pthread_introspection_hook()
219 if (thread == pthread_self()) { in my_pthread_introspection_hook()
252 main_thread_identity = (uptr)pthread_self(); in InitializePlatform()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/pa/
H A Dgthr-dce.h104 __gthrw(pthread_self) in __gthrw()
207 if (pthread_setprio (__gthrw_(pthread_self) (), sys_priority) >= 0) in __gthread_objc_thread_set_priority()
222 if ((sys_priority = pthread_getprio (__gthrw_(pthread_self) ())) >= 0) in __gthread_objc_thread_get_priority()
266 pthread_t self = __gthrw_(pthread_self) (); in __gthread_objc_thread_id()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/
H A Dgthr-posix.h109 __gthrw(pthread_self)
395 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority()
439 if (__gthrw_(pthread_getschedparam) (__gthrw_(pthread_self) (), &policy, &params) == 0) in __gthread_objc_thread_get_priority()
475 return (objc_thread_t) __gthrw_(pthread_self) (); in __gthread_objc_thread_id()
690 return __gthrw_(pthread_self) (); in __gthread_self()
/netbsd-src/external/gpl3/gcc/dist/libgcc/
H A Dgthr-posix.h109 __gthrw(pthread_self)
395 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority()
439 if (__gthrw_(pthread_getschedparam) (__gthrw_(pthread_self) (), &policy, &params) == 0) in __gthread_objc_thread_get_priority()
475 return (objc_thread_t) __gthrw_(pthread_self) (); in __gthread_objc_thread_id()
690 return __gthrw_(pthread_self) (); in __gthread_self()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_mac.cpp167 block, pthread_self()); in asan_dispatch_call_block_and_release()
200 asan_ctxt, pthread_self()); \
231 asan_ctxt, pthread_self()); in INTERCEPTOR()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_mac.cc200 block, pthread_self()); in asan_dispatch_call_block_and_release()
233 asan_ctxt, pthread_self()); \
264 asan_ctxt, pthread_self()); in INTERCEPTOR()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_mac.cc198 block, pthread_self()); in asan_dispatch_call_block_and_release()
231 asan_ctxt, pthread_self()); \
262 asan_ctxt, pthread_self()); in INTERCEPTOR()
/netbsd-src/external/gpl3/gcc/dist/libgomp/config/linux/
H A Dproc.c94 int ret = pthread_getaffinity_np (pthread_self (), gomp_cpuset_size, in gomp_init_num_threads()
155 && pthread_getaffinity_np (pthread_self (), gomp_get_cpuset_size, in get_num_procs()
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/config/linux/
H A Dproc.c94 int ret = pthread_getaffinity_np (pthread_self (), gomp_cpuset_size, in gomp_init_num_threads()
155 && pthread_getaffinity_np (pthread_self (), gomp_get_cpuset_size, in get_num_procs()

1234567