/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | thr.c | 1766 #pragma weak pthread_self = thr_self macro
|
/illumos-gate/usr/src/man/man3c/ |
H A D | Makefile | 368 pthread_self.3c \
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-library.man3c.inc | 991 file path=usr/share/man/man3c/pthread_self.3c
|
/illumos-gate/usr/src/lib/libc/port/ |
H A D | mapfile-vers | 1661 pthread_self;
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | configd.c | 143 (void) pthread_kill(pthread_self(), sig); in abort_handler() 759 ti->ti_thread = pthread_self(); in main()
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_getldap.c | 1636 (void) pthread_setname_np(pthread_self(), "getldap_serverinfo"); in getldap_serverInfo_op() 2549 (void) pthread_setname_np(pthread_self(), "getldap_refresh"); in getldap_refresh() 2901 (void) pthread_setname_np(pthread_self(), "remove_server"); in remove_server_thread()
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_misc.c | 194 uu_panic_thread = pthread_self(); in uu_panic() 202 if (uu_panic_thread == pthread_self()) in uu_panic()
|
/illumos-gate/usr/src/head/ |
H A D | pthread.h | 251 extern pthread_t pthread_self(void);
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmapd.c | 147 pthread_self(), num); in idmapd_door_thread_cleanup()
|
H A D | dbutils.c | 348 pthread_self(), busy->sec, busy->name); in idmap_sqlite_busy_handler()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | mevent.c | 162 if (mevent_pipefd[1] != 0 && pthread_self() != mevent_tid) { in mevent_notify() 839 mevent_tid = pthread_self(); in mevent_dispatch()
|
H A D | block_if.c | 462 t = pthread_self(); in blockif_thr()
|
H A D | bhyverun.c | 535 pthread_set_name_np(pthread_self(), tname); in fbsdrun_start_thread() 539 error = pthread_setaffinity_np(pthread_self(), in fbsdrun_start_thread()
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | door.c | 1372 tid = pthread_self(); in door_server()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | k5-thread.h | 464 # pragma weak pthread_self macro 536 if (_r2 == 0) _m2->owner = pthread_self(); \ 546 m->owner = pthread_self(); in k5_pthread_mutex_lock() 552 ? ASSERT(pthread_equal((M)->owner, pthread_self())) \
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | threads.c | 146 || &pthread_self == 0 in krb5int_pthread_loaded()
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 127 while (h->rh_hold_flags != 0 && h->rh_holder != pthread_self()) { in handle_hold_subhandles() 136 h->rh_holder = pthread_self(); in handle_hold_subhandles() 148 assert(h->rh_holder == pthread_self()); in handle_rele_subhandles()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_hashitem.c | 100 pthread_t myself = pthread_self(); in __nis_lock_hash_table() 188 table->traverser_id == pthread_self()) { in __nis_ulock_hash_table() 221 pthread_self(), traverse?"traverse":"non-traverse", table, in __nis_ulock_hash_table() 286 item->writer_id = pthread_self(); in __nis_insert_item_mt() 290 item->last_reader_id = pthread_self(); in __nis_insert_item_mt() 349 pthread_t me = pthread_self(); in __nis_find_item_mt() 414 mtid = pthread_self(); in __nis_pop_item_mt() 507 mtid = pthread_self(); in __nis_remove_item_mt() 589 item->writer_id != pthread_self()) || in __nis_release_item() 649 if (item->writer_id != pthread_self()) in __nis_item_access()
|
H A D | nisdb_rw.h | 80 #define MUTEXLOCK(var, msg) if (var ## _owner != pthread_self()) { \ 82 var ## _owner = pthread_self(); \ 85 #define MUTEXUNLOCK(var, msg) if (var ## _owner == pthread_self()) { \ 90 #define ASSERTMUTEXHELD(var) if (var ## _owner != pthread_self()) \
|
/illumos-gate/usr/src/lib/libc/port/tpool/ |
H A D | thread_pool.c | 105 pthread_t my_tid = pthread_self(); in job_cleanup() 138 active.tpa_tid = pthread_self(); in tpool_worker() 491 pthread_t my_tid = pthread_self(); in tpool_member() 510 pthread_t my_tid = pthread_self(); in postfork1_child_tpool()
|
/illumos-gate/usr/src/test/os-tests/tests/ |
H A D | ucontext.c | 38 pthread_t ltid = pthread_self(); in report() 47 pthread_t ltid = pthread_self(); in run()
|
/illumos-gate/usr/src/cmd/auditd/ |
H A D | doorway.c | 463 (void) pthread_setschedparam(pthread_self(), SCHED_OTHER, in auditd_thread_init()
|
/illumos-gate/usr/src/test/libc-tests/tests/threads/ |
H A D | pthread_attr_get_np.c | 130 VERIFY0(pthread_attr_get_np(pthread_self(), &pgn_attr)); in pgn_set_one_thr() 203 VERIFY0(pthread_attr_get_np(pthread_self(), &pgn_attr)); in pgn_set_two_thr() 241 VERIFY0(pthread_detach(pthread_self())); in pgn_set_two_thr() 245 VERIFY0(pthread_setschedparam(pthread_self(), opolicy, &oparam)); in pgn_set_two_thr() 247 VERIFY0(pthread_attr_get_np(pthread_self(), &pgn_attr)); in pgn_set_two_thr() 316 VERIFY0(pthread_attr_get_np(pthread_self(), &selfattr)); in pgn_set_three()
|
H A D | thread_name.c | 57 rc = pthread_getname_np(pthread_self(), name, sizeof (name)); in main() 66 rc = pthread_setname_np(pthread_self(), name); in main() 71 rc = pthread_getname_np(pthread_self(), name, sizeof (name)); in main() 79 rc = pthread_getname_np(pthread_self(), name, 2); in main() 87 rc = pthread_getname_np(pthread_self(), NULL, sizeof (name)); in main() 95 rc = pthread_setname_np(pthread_self(), NULL); in main() 100 rc = pthread_getname_np(pthread_self(), name, sizeof (name)); in main() 121 rc = pthread_setname_np(pthread_self(), in main()
|
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | pthread_h.cfg | 47 func | pthread_self |\
|