static void diediedie(CFRunLoopTimerRef timer, void *context)
	{
	debug("entry %p %p %d", timer, context, maxidle);
	assert(gTimer == timer);
	if (maxidle)
		(void)proxy_mDNSExit(gPort);
	}
Example #2
0
static void diediedie(CFRunLoopTimerRef timer, void *context)
{
    debug("entry %p %p %d", timer, context, actualidle);
    assert(gTimer == timer);
    helplog(ASL_LEVEL_INFO, "mDNSResponder exiting after %d seconds", actualidle);
    if (actualidle)
        (void)proxy_mDNSExit(gPort);
}
Example #3
0
static void handle_sigterm(int sig)
{
    // debug("entry sig=%d", sig);	Can't use syslog from within a signal handler
    assert(sig == SIGTERM);
    (void)proxy_mDNSExit(gPort);
}