Searched refs:ri_method_thread (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/svc/startd/
H A Drestarter.c64 * method_thread() does, we set ri_method_thread to the thread id of the
69 * inst_lookup_by_id() and waiting for a 0 value of ri_method_thread. This
196 while (inst->ri_method_thread != 0 &&
197 !pthread_equal(inst->ri_method_thread, pthread_self())) {
753 while (ri->ri_method_thread != 0 || ri->ri_method_waiters > 0)
942 * This is where we'd check inst->ri_method_thread and if it
1038 assert(inst->ri_method_thread == 0);
1230 inst->ri_method_thread = startd_thread_create(method_thread, info);
1511 assert(inst->ri_method_thread == 0);
1557 inst->ri_method_thread
[all...]
H A Dstartd.h436 * put the thread id in ri_method_thread. Threads with ids other than
437 * this which acquire ri_lock while ri_method_thread is nonzero should
441 pthread_t ri_method_thread; member in struct:restarter_inst
H A Dmethod.c1123 assert(inst->ri_method_thread != 0);
1253 inst->ri_method_thread = 0;

Completed in 2548 milliseconds