Home
last modified time | relevance | path

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

12

/dragonfly/test/pthread/setname/
HDpthread_setname.c11 pthread_set_name_np(pthread_self(), __func__); in setselfname()
26 pthread_set_name_np(pthread_self(), __func__); in resetname()
28 pthread_set_name_np(pthread_self(), NULL); in resetname()
55 pthread_set_name_np(pthread_self(), longname); in main()
/dragonfly/usr.bin/dsynth/
HDnuma.c67 } else if (pthread_getaffinity_np(pthread_self(), in setNumaDomain()
98 pthread_setaffinity_np(pthread_self(), sizeof(defset), &defset); in setNumaDomain()
126 pthread_setaffinity_np(pthread_self(), sizeof(cpuset), &cpuset); in setNumaDomain()
/dragonfly/crypto/libressl/ssl/
HDssl_init.c32 ssl_init_thread = pthread_self(); in OPENSSL_init_ssl_internal()
42 if (pthread_equal(pthread_self(), ssl_init_thread)) in OPENSSL_init_ssl()
/dragonfly/crypto/libressl/crypto/
HDcrypto_init.c41 crypto_init_thread = pthread_self(); in OPENSSL_init_crypto_internal()
57 if (pthread_equal(pthread_self(), crypto_init_thread)) in OPENSSL_init_crypto()
HDcryptlib.c153 return (unsigned long)pthread_self(); in CRYPTO_thread_id()
282 id->val = (unsigned long)pthread_self(); in CRYPTO_THREADID_current()
/dragonfly/contrib/gcc-4.7/libgcc/
HDgthr-posix.h120 __gthrw3(pthread_self)
147 __gthrw(pthread_self)
410 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority()
454 if (__gthrw_(pthread_getschedparam) (__gthrw_(pthread_self) (), &policy, &params) == 0) in __gthread_objc_thread_get_priority()
490 return (objc_thread_t) __gthrw_(pthread_self) (); in __gthread_objc_thread_id()
705 return __gthrw_(pthread_self) (); in __gthread_self()
/dragonfly/contrib/gcc-8.0/libgcc/
HDgthr-posix.h108 __gthrw(pthread_self)
415 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority()
459 if (__gthrw_(pthread_getschedparam) (__gthrw_(pthread_self) (), &policy, &params) == 0) in __gthread_objc_thread_get_priority()
495 return (objc_thread_t) __gthrw_(pthread_self) (); in __gthread_objc_thread_id()
710 return __gthrw_(pthread_self) (); in __gthread_self()
/dragonfly/contrib/ncurses/ncurses/trace/
HDlib_trace.c214 if ((pthread_self)) in _nc_va_tracef()
217 fprintf(fp, "%#lx:", (long) (intptr_t) pthread_self().p); in _nc_va_tracef()
219 fprintf(fp, "%#lx:", (long) (intptr_t) pthread_self()); in _nc_va_tracef()
/dragonfly/tools/tools/netrate/kq_sendrecv/kq_recvserv/
HDkq_recvserv.c147 pthread_set_name_np(pthread_self(), "main"); in main()
279 error = pthread_setaffinity_np(pthread_self(), in recv_thread()
300 pthread_set_name_np(pthread_self(), name); in recv_thread()
/dragonfly/lib/libthread_xu/thread/
HDthr_self.c45 __strong_reference(_pthread_self, pthread_self);
/dragonfly/lib/libusb/
HDlibusb10_io.c248 ctx->ctx_handler = pthread_self(); in libusb_try_lock_events()
259 ctx->ctx_handler = pthread_self(); in libusb_lock_events()
266 if (ctx->ctx_handler == pthread_self()) { in libusb_unlock_events()
277 return (ctx->ctx_handler == pthread_self()); in libusb_event_handling_ok()
/dragonfly/test/libpthread/
HDmutex_d.c467 pthread_self()); in waiter()
514 pthread_self()); in lock_twice()
524 signo, pthread_self()); in sighandler()
1014 assert (pthread_getschedparam (pthread_self(), &policy, in mutex_prioceiling_test()
1242 assert (pthread_getschedparam (pthread_self(), &policy, in mutex_prioinherit_test()
1446 assert (pthread_getschedparam (pthread_self (), &policy, &param) == 0); in main()
HDsigsuspend_d.c102 self = pthread_self (); in sighandler()
/dragonfly/sbin/hammer2/
HDcmd_service.c225 pthread_detach(pthread_self()); in service_thread()
502 pthread_detach(pthread_self()); in udev_thread()
540 pthread_detach(pthread_self()); in autoconn_thread()
702 pthread_detach(pthread_self()); in autoconn_connect_thread()
/dragonfly/contrib/ncurses/ncurses/base/
HDlib_mouse.c1039 if ((pthread_self) && (pthread_kill) && (pthread_equal)) in decode_xterm_X10()
1041 _nc_globals.read_thread = pthread_self(); in decode_xterm_X10()
1094 if ((pthread_self) && (pthread_kill) && (pthread_equal)) in decode_xterm_1005()
1096 _nc_globals.read_thread = pthread_self(); in decode_xterm_1005()
1178 if ((pthread_self) && (pthread_kill) && (pthread_equal)) in read_SGR()
1180 _nc_globals.read_thread = pthread_self(); in read_SGR()
HDlib_getch.c308 if ((pthread_self) && (pthread_kill) && (pthread_equal)) in fifo_push()
310 _nc_globals.read_thread = pthread_self(); in fifo_push()
/dragonfly/test/stress/stress2/misc/
HDpthread.sh80 pthread_detach(pthread_self()); function
/dragonfly/sys/platform/vkernel64/platform/
HDcothread.c95 cotd->pintr = pthread_self(); in cothread_create()
/dragonfly/contrib/grep/lib/glthread/
HDlock.c657 pthread_t self = pthread_self (); in glthread_recursive_lock_lock_multithreaded()
678 if (lock->owner != pthread_self ()) in glthread_recursive_lock_unlock_multithreaded()
HDlock.h265 # ifndef pthread_self
266 # pragma weak pthread_self macro
/dragonfly/sbin/udevd/
HDudevd_client.c103 r = pthread_detach(pthread_self()); in client_thread()
/dragonfly/lib/libdmsg/
HDservice.c55 pthread_detach(pthread_self()); in dmsg_master_service()
/dragonfly/lib/libpthread/
HDMakefile66 pthread_self.3 \
/dragonfly/contrib/ncurses/ncurses/tty/
HDlib_tstp.c293 if (!pthread_equal(pthread_self(), _nc_globals.read_thread)) in handle_SIGWINCH()
/dragonfly/include/
HDpthread.h242 pthread_t pthread_self(void);

12