Lines Matching defs:restarter_queue
32 * by svc.startd, the event is stored on the local restarter_queue list,
75 static restarter_protocol_event_queue_t *restarter_queue;
202 restarter_queue = startd_zalloc(
205 (void) pthread_mutex_init(&restarter_queue->rpeq_lock, &mutex_attrs);
206 restarter_queue->rpeq_event_list = startd_list_create(
207 restarter_protocol_event_queue_pool, restarter_queue, NULL);
231 MUTEX_LOCK(&restarter_queue->rpeq_lock);
233 r = uu_list_insert_before(restarter_queue->rpeq_event_list, NULL, e);
236 MUTEX_UNLOCK(&restarter_queue->rpeq_lock);
260 MUTEX_LOCK(&restarter_queue->rpeq_lock);
262 e = uu_list_first(restarter_queue->rpeq_event_list);
264 MUTEX_UNLOCK(&restarter_queue->rpeq_lock);
268 if (uu_list_next(restarter_queue->rpeq_event_list, e) != NULL)
270 uu_list_remove(restarter_queue->rpeq_event_list, e);
271 MUTEX_UNLOCK(&restarter_queue->rpeq_lock);