/freebsd/contrib/netbsd-tests/lib/libc/setjmp/ |
H A D | t_threadjmp.c | 96 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()
|
/freebsd/tools/test/stress2/misc/ |
H A D | poll2.sh | 100 pthread_set_name_np(pthread_self(), "wr-idle"); function 103 pthread_set_name_np(pthread_self(), "wr-act"); function 121 pthread_set_name_np(pthread_self(), "rd-idle"); function 124 pthread_set_name_np(pthread_self(), "rd-act"); function 146 pthread_set_name_np(pthread_self(), "pl-idle"); function 147 pthread_set_name_np(pthread_self(), "pl-act"); function
|
H A D | mmap11.sh | 130 pthread_set_name_np(pthread_self(), __func__); 164 pthread_set_name_np(pthread_self(), __func__); 189 pthread_set_name_np(pthread_self(), __func__); 210 pthread_set_name_np(pthread_self(), __func__); 234 pthread_set_name_np(pthread_self(), __func__);
|
H A D | mmap48.sh | 63 pthread_set_name_np(pthread_self(), __func__); 83 pthread_set_name_np(pthread_self(), __func__); 107 pthread_set_name_np(pthread_self(), __func__); 138 pthread_set_name_np(pthread_self(), __func__); 155 pthread_set_name_np(pthread_self(), __func__); 173 pthread_set_name_np(pthread_self(), __func__);
|
H A D | kevent9.sh | 38 pthread_set_name_np(pthread_self(), "procmaker"); 64 pthread_set_name_np(pthread_self(), "reaper"); 80 pthread_set_name_np(pthread_self(), "main");
|
H A D | mmap10.sh | 132 pthread_set_name_np(pthread_self(), __func__); 166 pthread_set_name_np(pthread_self(), __func__); 191 pthread_set_name_np(pthread_self(), __func__); 213 pthread_set_name_np(pthread_self(), __func__);
|
H A D | pthread9.sh | 97 pthread_set_name_np(pthread_self(), __func__); function 116 pthread_set_name_np(pthread_self(), __func__); function 134 pthread_set_name_np(pthread_self(), __func__); function
|
H A D | mmap18.sh | 139 pthread_set_name_np(pthread_self(), __func__); 169 pthread_set_name_np(pthread_self(), __func__); 194 pthread_set_name_np(pthread_self(), __func__); 216 pthread_set_name_np(pthread_self(), __func__);
|
H A D | pthread7.sh | 158 pthread_set_name_np(pthread_self(), __func__); function 182 pthread_set_name_np(pthread_self(), __func__); function 212 pthread_set_name_np(pthread_self(), __func__); function
|
H A D | pthread2.sh | 173 pthread_set_name_np(pthread_self(), __func__); function 197 pthread_set_name_np(pthread_self(), __func__); function 227 pthread_set_name_np(pthread_self(), __func__); function
|
H A D | pthread3.sh | 161 pthread_set_name_np(pthread_self(), __func__); function 186 pthread_set_name_np(pthread_self(), __func__); function 216 pthread_set_name_np(pthread_self(), __func__); function
|
H A D | pthread4.sh | 168 pthread_set_name_np(pthread_self(), __func__); function 193 pthread_set_name_np(pthread_self(), __func__); function 223 pthread_set_name_np(pthread_self(), __func__); function
|
H A D | pthread6.sh | 160 pthread_set_name_np(pthread_self(), __func__); function 185 pthread_set_name_np(pthread_self(), __func__); function 215 pthread_set_name_np(pthread_self(), __func__); function
|
H A D | mmap21.sh | 75 pthread_set_name_np(pthread_self(), __func__); function 90 pthread_set_name_np(pthread_self(), __func__); function
|
/freebsd/tools/regression/tls/ttls2/ |
H A D | ttls2.c | 11 printf("thread %p, &i = %p\n", pthread_self(), &i); in foo1() 13 printf("thread %p, i = %d\n", pthread_self(), i); in foo1() 22 printf("thread %p, &i = %p\n", pthread_self(), &i); in foo2() 24 printf("thread %p, i = %d\n", pthread_self(), i); in foo2()
|
/freebsd/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_kill.c | 85 self = pthread_self(); in sighandler() 120 mainthread = pthread_self(); in ATF_TC_BODY() 130 self = pthread_self(); in ATF_TC_BODY()
|
H A D | t_mutex.c | 160 printf("2: Second thread (%p). Count is %ld\n", pthread_self(), count); in mutex2_threadfunc() 222 printf("1: Thread %p\n", pthread_self()); in ATF_TC_BODY() 227 printf("1: Unlocking to start increment loop %p\n", pthread_self()); in ATF_TC_BODY() 278 printf("2: Second thread (%p). Count is %ld\n", pthread_self(), count); in mutex3_threadfunc() 336 printf("1: Thread %p\n", pthread_self()); in ATF_TC_BODY() 341 printf("1: Unlocking to start increment loop %p\n", pthread_self()); in ATF_TC_BODY() 524 pthread_t childid = pthread_self(); in high_prio() 555 pthread_t childid = pthread_self(); in low_prio()
|
H A D | t_swapcontext.c | 60 nself = (void *)pthread_self(); in swapfunc() 81 oself = (void *)pthread_self(); in threadfunc()
|
H A D | t_name.c | 54 pthread_t self = pthread_self(); in threadfunc() 76 pthread_t thr, self = pthread_self(); in ATF_TC_BODY()
|
H A D | t_join.c | 79 caller = pthread_self(); in threadfunc1() 158 ATF_REQUIRE(pthread_attr_get_np(pthread_self(), &attr) == 0); in threadfunc2()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctfmerge.c | 389 debug(2, "%d: merging %p into %p\n", pthread_self(), in wip_add_work() 460 pthread_self()); in worker_runphase2() 487 debug(2, "%d: merging %p into %p\n", pthread_self(), in worker_runphase2() 506 pthread_self(), (void *)pow2, fifo_len(wq->wq_queue), in worker_runphase2() 522 debug(2, "%d: entering first barrier\n", pthread_self()); in worker_thread() 526 debug(2, "%d: doing work in first barrier\n", pthread_self()); in worker_thread() 532 debug(2, "%d: ninqueue is %d, %d on queue\n", pthread_self(), in worker_thread() 536 debug(2, "%d: entering second barrier\n", pthread_self()); in worker_thread() 540 debug(2, "%d: phase 1 complete\n", pthread_self()); in worker_thread() 564 debug(1, "Thread %d announcing %s\n", pthread_self(), name); in merge_ctf_cb()
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | interrupt.cc | 64 printf("Signaled! thread %p\n", pthread_self()); in sigusr2_handler() 232 self = pthread_self(); in TEST_F() 292 self = pthread_self(); in TEST_F() 374 self = pthread_self(); in TEST_F() 416 self = pthread_self(); in TEST_F() 492 self = pthread_self(); in TEST_F() 555 self = pthread_self(); in TEST_F() 591 self = pthread_self(); in TEST_F() 632 self = pthread_self(); in TEST_F() 760 self = pthread_self(); in TEST_F()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Threading.inc | 109 pthread_t llvm_thread_get_current_id_impl() { return ::pthread_self(); } 135 return uint64_t(pthread_self()); 180 ::pthread_setname_np(::pthread_self(), NameStr.data()); 184 ::pthread_set_name_np(::pthread_self(), NameStr.data()); 186 ::pthread_setname_np(::pthread_self(), "%s", 235 ::pthread_getname_np(::pthread_self(), buf, len); 241 ::pthread_get_name_np(::pthread_self(), buf, len); 248 if (0 == ::pthread_getname_np(::pthread_self(), Buffer, len)) 265 pthread_self(),
|
/freebsd/sys/contrib/openzfs/lib/libzpool/ |
H A D | kernel.c | 210 mp->m_owner = pthread_self(); in mutex_enter() 218 mp->m_owner = pthread_self(); in mutex_enter_check_return() 227 mp->m_owner = pthread_self(); in mutex_tryenter() 271 rwlp->rw_owner = pthread_self(); in rw_enter() 300 rwlp->rw_owner = pthread_self(); in rw_tryenter() 351 mp->m_owner = pthread_self(); in cv_wait() 384 mp->m_owner = pthread_self(); in cv_timedwait() 424 mp->m_owner = pthread_self(); in cv_timedwait_hires() 609 (uintmax_t)(uintptr_t)pthread_self()); in __dprintf()
|
/freebsd/contrib/ncurses/ncurses/tty/ |
H A D | lib_tstp.c | 293 if ((pthread_self) && (pthread_kill) && (pthread_equal)) in _nc_set_read_thread() 295 _nc_globals.read_thread = pthread_self(); in _nc_set_read_thread() 311 if (!pthread_equal(pthread_self(), _nc_globals.read_thread)) in handle_SIGWINCH()
|