Home
last modified time | relevance | path

Searched refs:thr_tid (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_thread.c40 tp->thr_tid = tid; in fmd_thread_xcreate()
94 err = pthread_create(&tp->thr_tid, NULL, fmd_thread_start, tp); in fmd_thread_create_cmn()
124 if (flag == FMD_THREAD_JOIN && tp->thr_tid != pthread_self() && in fmd_thread_destroy()
125 pthread_join(tp->thr_tid, NULL) != 0) { in fmd_thread_destroy()
127 "%s (tid %u)\n", tp->thr_mod->mod_name, tp->thr_tid); in fmd_thread_destroy()
H A Dfmd_timerq.c100 fmd_time_waitcancel(tmq->tmq_thread->thr_tid); in fmd_timerq_install()
149 fmd_time_waitcancel(tmq->tmq_thread->thr_tid); in fmd_timerq_remove()
275 fmd_time_waitcancel(tmq->tmq_thread->thr_tid); in fmd_timerq_destroy()
H A Dfmd_thread.h42 pthread_t thr_tid; /* thread identifier */ member
H A Dfmd_api.c388 if (pthread_self() != mp->mod_thread->thr_tid) in fmd_hdl_register()
561 "thread %u\n", mp->mod_name, tp->thr_tid); in fmd_module_thrcancel()
567 mp->mod_name, tp->thr_tid); in fmd_module_thrcancel()
569 ASSERT(tp->thr_tid == id); in fmd_module_thrcancel()
570 (void) pthread_cancel(tp->thr_tid); in fmd_module_thrcancel()
571 (void) pthread_join(tp->thr_tid, NULL); in fmd_module_thrcancel()
1753 tid = tp->thr_tid; in fmd_thr_create()
1813 if (tid != mp->mod_thread->thr_tid && in fmd_thr_signal()
1829 if (tid == mp->mod_thread->thr_tid || in fmd_thr_checkpoint()
1877 tid = new_tp->thr_tid; in fmd_doorthr_create()
[all …]
H A Dfmd_ctl.c89 (void) pthread_kill(fmd.d_rmod->mod_thread->thr_tid, SIGTERM); in fmd_ctl_addhrt()
H A Dfmd_mdb.c108 t->trw_tid = thr.thr_tid; in trwalk_init()
724 addr, thr.thr_mod, thr.thr_tid, thr.thr_func); in fmd_thread()
H A Dfmd_module.c897 if (tid != mp->mod_thread->thr_tid) { in fmd_module_abort()