FreeBSD/contrib/ntp/libntp/ntp_worker.c
/*
 * worker_idle_timer_fired()
 *
 * The parent starts this timer when the last pending response has been
 * received from the child, making it idle, and clears the timer when a
 * request is dispatched to the child.  Once the timer expires, the
 * child is sent packing.
 *
 * This is called when worker_idle_timer is nonzero and less than or
 * equal to current_time.
 */
worker_idle_timer_fired()
The parent starts this timer when the last pending response has been
received from the child, making it idle, and clears the timer when a
request is dispatched to the child.  Once the timer expires, the
child is sent packing.

This is called when worker_idle_timer is nonzero and less than or
equal to current_time.
worker_idle_timer_fired () The parent starts this timer when the last pending response has been received from the child making it idle and clears the timer when a request is dispatched to the child . Once the timer expires the child is sent packing . This is called when worker_idle_timer is nonzero and less than or equal to current_time .
void
worker_idle_timer_fired(void)
{
	u_int			idx;
	blocking_child *	c;
	DEBUG_REQUIRE(0 == intres_req_pending);
	intres_timeout_req(0);
	for (idx = 0; idx < blocking_children_alloc; idx++) {
		c = blocking_children[idx];
		if (NULL == c)
			continue;
		req_child_exit(c);
	}
}
void worker_idle_timer_fired ( void ) { u_int idx ; blocking_child * c ; DEBUG_REQUIRE ( 0 == intres_req_pending ) ; intres_timeout_req ( 0 ) ; for ( idx = 0 ; idx < blocking_children_alloc ; idx ++ ) { c = blocking_children [ idx ] ; if ( NULL == c ) continue ; req_child_exit ( c ) ; } }
worker_idle_timer_fired()
 The parent starts this timer when the last pending response has been
 received from the child, making it idle, and clears the timer when a
 request is dispatched to the child.
worker_idle_timer_fired () The parent starts this timer when the last pending response has been received from the child making it idle and clears the timer when a request is dispatched to the child .