Home
last modified time | relevance | path

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

123

/onnv-gate/usr/src/lib/libnisdb/
H A Dnis_hashitem.c102 pthread_t myself = pthread_self(); in __nis_lock_hash_table()
190 table->traverser_id == pthread_self()) { in __nis_ulock_hash_table()
223 pthread_self(), traverse?"traverse":"non-traverse", table, in __nis_ulock_hash_table()
288 item->writer_id = pthread_self(); in __nis_insert_item_mt()
292 item->last_reader_id = pthread_self(); in __nis_insert_item_mt()
351 pthread_t me = pthread_self(); in __nis_find_item_mt()
416 mtid = pthread_self(); in __nis_pop_item_mt()
509 mtid = pthread_self(); in __nis_remove_item_mt()
591 item->writer_id != pthread_self()) || in __nis_release_item()
651 if (item->writer_id != pthread_self()) in __nis_item_access()
H A Dnisdb_rw.c110 pthread_t myself = pthread_self(); in __nisdb_rw_readlock_ok()
142 pthread_t myself = pthread_self(); in __nisdb_rw_force_writelock()
172 pthread_t myself = pthread_self(); in __nisdb_wlock_trylock()
351 pthread_t myself = pthread_self(); in __nisdb_rlock()
418 pthread_t myself = pthread_self(); in __nisdb_wulock()
467 pthread_t myself = pthread_self(); in __nisdb_rulock()
577 if (rw->writer_count == 0 || rw->writer.id != pthread_self()) { in __nisdb_assert_wheld()
596 pthread_t myself = pthread_self(); in __nisdb_assert_rheld()
650 pthread_t myself = pthread_self(); in __nisdb_destroy_lock()
H A Dnisdb_rw.h82 #define MUTEXLOCK(var, msg) if (var ## _owner != pthread_self()) { \
84 var ## _owner = pthread_self(); \
87 #define MUTEXUNLOCK(var, msg) if (var ## _owner == pthread_self()) { \
92 #define ASSERTMUTEXHELD(var) if (var ## _owner != pthread_self()) \
/onnv-gate/usr/src/tools/ctf/cvt/
H A Dctfmerge.c381 debug(2, "%d: merging %p into %p\n", pthread_self(), in wip_add_work()
452 pthread_self()); in worker_runphase2()
479 debug(2, "%d: merging %p into %p\n", pthread_self(), in worker_runphase2()
498 pthread_self(), (void *)pow2, fifo_len(wq->wq_queue), in worker_runphase2()
514 debug(2, "%d: entering first barrier\n", pthread_self()); in worker_thread()
518 debug(2, "%d: doing work in first barrier\n", pthread_self()); in worker_thread()
524 debug(2, "%d: ninqueue is %d, %d on queue\n", pthread_self(), in worker_thread()
528 debug(2, "%d: entering second barrier\n", pthread_self()); in worker_thread()
532 debug(2, "%d: phase 1 complete\n", pthread_self()); in worker_thread()
556 debug(1, "Thread %d announcing %s\n", pthread_self(), name); in merge_ctf_cb()
/onnv-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c395 mythreadno = pthread_self(); in main()
543 mythreadno = pthread_self(); in openklog()
614 mythreadno = pthread_self(); in sys_poll()
686 mythreadno = pthread_self(); in getkmsg()
798 mythreadno = pthread_self(); in net_poll()
972 mythreadno = pthread_self(); in logmymsg()
1008 mythreadno = pthread_self(); in shutdown_msg()
1039 mythreadno = pthread_self(); in flushmsg()
1072 mythreadno = pthread_self(); in formatnet()
1115 mythreadno = pthread_self(); in formatsys()
[all …]
/onnv-gate/usr/src/cmd/smserverd/
H A Dsmediad.c448 debug(5, "smserverproc thread %d running....\n", pthread_self()); in smserverproc_get_serverinfo_1()
457 fatal(gettext(BADSIG_MSG), pthread_self(), sig, siginfo->si_addr, in server_badsig_handler()
1339 pthread_self()); in sm_server_thread()
1347 pthread_self()); in sm_server_thread()
1373 debug(5, "thr[%d] bound to Client Door[%d]", pthread_self(), in sm_server_thread()
1418 pthread_self(), door_dp->dd_ddoor_descriptor); in cleanup()
1422 "Door(%d) failed = %d"), pthread_self(), in cleanup()
1431 debug(1, "cleanup[%d]: release shared memory", pthread_self()); in cleanup()
1442 debug(1, "cleanup[%d]: close(%d) target device", pthread_self(), in cleanup()
1446 "failed = %d\n"), pthread_self(), errno); in cleanup()
[all …]
/onnv-gate/usr/src/cmd/wbem/provider/tools/rds/
H A Drds.c109 pthread_t this = pthread_self(); in thread_cleanup()
180 (int)pthread_self(), msg); in generic_exit()
187 log_msg("calling thread_exit() from %d\n", (int)pthread_self()); in generic_exit()
799 master = pthread_self(); in runserver()
846 (int)scanner, (int)pthread_self()); in runserver()
/onnv-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios.c296 nbtd.nbs_ns.s_tid = pthread_self(); in smb_netbios_event()
303 nbtd.nbs_dgm.s_tid = pthread_self(); in smb_netbios_event()
310 nbtd.nbs_browser.s_tid = pthread_self(); in smb_netbios_event()
317 nbtd.nbs_timer.s_tid = pthread_self(); in smb_netbios_event()
/onnv-gate/usr/src/lib/libuutil/common/
H A Duu_misc.c194 uu_panic_thread = pthread_self(); in uu_panic()
202 if (uu_panic_thread == pthread_self()) in uu_panic()
/onnv-gate/usr/src/lib/libc/port/tpool/
H A Dthread_pool.c107 pthread_t my_tid = pthread_self(); in job_cleanup()
140 active.tpa_tid = pthread_self(); in tpool_worker()
493 pthread_t my_tid = pthread_self(); in tpool_member()
512 pthread_t my_tid = pthread_self(); in postfork1_child_tpool()
/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-thread.h464 # 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())) \
/onnv-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dlogging.c67 offset = snprintf(buf, bufsize, "%d: ", pthread_self()); in log_format()
/onnv-gate/usr/src/cmd/isns/isnsd/
H A Dmain.c474 pthread_self()); in main()
483 pthread_self()); in main()
/onnv-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_subr.c66 pthread_t tid = pthread_self(); in fmd_vpanic()
314 ((pthread_self() << ENA_FMT1_CPUID_SHFT) & ENA_FMT1_CPUID_MASK) | in fmd_ena()
H A Dfmd_thread.c124 if (flag == FMD_THREAD_JOIN && tp->thr_tid != pthread_self() && in fmd_thread_destroy()
H A Dfmd_module.c758 pthread_t self = pthread_self(); in fmd_module_lock()
781 ASSERT(mp->mod_owner == pthread_self()); in fmd_module_unlock()
801 mp->mod_owner = pthread_self(); in fmd_module_trylock()
814 mp->mod_owner == pthread_self()); in fmd_module_locked()
871 pthread_t tid = pthread_self(); in fmd_module_abort()
/onnv-gate/usr/src/common/openssl/doc/crypto/
H A Dthreads.pod69 pthread_self() if it returns an integer (see NOTES below). It isn't
144 pthread_self() should be used, even on platforms where getpid() gives
155 There is still the issue of platforms where pthread_self() returns
/onnv-gate/usr/src/lib/sun_fc/common/
H A DTrace.cc138 tid = pthread_self(); in Trace()
/onnv-gate/usr/src/head/
H A Dpthread.h247 extern pthread_t pthread_self(void);
392 extern pthread_t pthread_self();
/onnv-gate/usr/src/lib/libkmsagent/common/
H A Dk_setupssl.c64 # define THREAD_ID pthread_self()
/onnv-gate/usr/src/cmd/lms/SyncLib/src/
H A DThreadUnix.cpp93 return pthread_self(); in currentThread()
/onnv-gate/usr/src/cmd/svc/configd/
H A Dclient.c128 rlp->rl_tid = pthread_self(); in start_log()
364 assert(cp->rc_insert_thr != pthread_self()); in client_release()
382 assert(cp->rc_insert_thr != pthread_self()); in client_start_insert()
385 cp->rc_insert_thr = pthread_self(); in client_start_insert()
393 assert(cp->rc_insert_thr == pthread_self()); in client_end_insert()
416 assert(cp->rc_insert_thr == pthread_self()); in entity_add()
559 assert(cp->rc_insert_thr == pthread_self()); in iter_add()
1726 cp->rc_notify_thr = pthread_self(); in client_wait()
1748 assert(cp->rc_notify_thr == pthread_self()); in client_wait()
H A Dconfigd.c128 (void) pthread_kill(pthread_self(), sig); in abort_handler()
744 ti->ti_thread = pthread_self(); in main()
/onnv-gate/usr/src/lib/libadutils/common/
H A Dadutils_threadfuncs.c73 .ltf_threadid_fn = (void * (*)(void))pthread_self
/onnv-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_spool.c126 if (pthread_self() == smbd.s_spool_tid) in smbd_spool_fini()
247 pjob.pj_pid = pthread_self(); in smbd_spool_copyfile()

123