Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libsysevent/
H A Dlibsysevent.c762 subscriber_priv_t *sub_info; in subscriber_event_handler() local
765 sub_info = (subscriber_priv_t *)SH_PRIV_DATA(shp); in subscriber_event_handler()
768 if (sub_info->sp_handler_tid == NULL) in subscriber_event_handler()
769 sub_info->sp_handler_tid = thr_self(); in subscriber_event_handler()
771 (void) mutex_lock(&sub_info->sp_qlock); in subscriber_event_handler()
773 while (sub_info->sp_evq_head == NULL && SH_BOUND(shp)) { in subscriber_event_handler()
774 (void) cond_wait(&sub_info->sp_cv, &sub_info->sp_qlock); in subscriber_event_handler()
776 evqp = sub_info->sp_evq_head; in subscriber_event_handler()
778 (void) mutex_unlock(&sub_info->sp_qlock); in subscriber_event_handler()
779 (void) sub_info->sp_func(evqp->sq_ev); in subscriber_event_handler()
[all …]