| /dragonfly/test/pthread/setname/ |
| HD | pthread_setname.c | 11 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/ |
| HD | numa.c | 67 } 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/ |
| HD | ssl_init.c | 32 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/ |
| HD | crypto_init.c | 41 crypto_init_thread = pthread_self(); in OPENSSL_init_crypto_internal() 57 if (pthread_equal(pthread_self(), crypto_init_thread)) in OPENSSL_init_crypto()
|
| HD | cryptlib.c | 153 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/ |
| HD | gthr-posix.h | 120 __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, ¶ms) == 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/ |
| HD | gthr-posix.h | 108 __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, ¶ms) == 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/ |
| HD | lib_trace.c | 214 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/ |
| HD | kq_recvserv.c | 147 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/ |
| HD | thr_self.c | 45 __strong_reference(_pthread_self, pthread_self);
|
| /dragonfly/lib/libusb/ |
| HD | libusb10_io.c | 248 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/ |
| HD | mutex_d.c | 467 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, ¶m) == 0); in main()
|
| HD | sigsuspend_d.c | 102 self = pthread_self (); in sighandler()
|
| /dragonfly/sbin/hammer2/ |
| HD | cmd_service.c | 225 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/ |
| HD | lib_mouse.c | 1039 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()
|
| HD | lib_getch.c | 308 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/ |
| HD | pthread.sh | 80 pthread_detach(pthread_self()); function
|
| /dragonfly/sys/platform/vkernel64/platform/ |
| HD | cothread.c | 95 cotd->pintr = pthread_self(); in cothread_create()
|
| /dragonfly/contrib/grep/lib/glthread/ |
| HD | lock.c | 657 pthread_t self = pthread_self (); in glthread_recursive_lock_lock_multithreaded() 678 if (lock->owner != pthread_self ()) in glthread_recursive_lock_unlock_multithreaded()
|
| HD | lock.h | 265 # ifndef pthread_self 266 # pragma weak pthread_self macro
|
| /dragonfly/sbin/udevd/ |
| HD | udevd_client.c | 103 r = pthread_detach(pthread_self()); in client_thread()
|
| /dragonfly/lib/libdmsg/ |
| HD | service.c | 55 pthread_detach(pthread_self()); in dmsg_master_service()
|
| /dragonfly/lib/libpthread/ |
| HD | Makefile | 66 pthread_self.3 \
|
| /dragonfly/contrib/ncurses/ncurses/tty/ |
| HD | lib_tstp.c | 293 if (!pthread_equal(pthread_self(), _nc_globals.read_thread)) in handle_SIGWINCH()
|
| /dragonfly/include/ |
| HD | pthread.h | 242 pthread_t pthread_self(void);
|