FreeBSD/contrib/amd/amd/amd.c
/*
 * Hook for cache reload.
 * When a SIGHUP arrives it schedules a call to mapc_reload
 */
Hook for cache reload.
When a SIGHUP arrives it schedules a call to mapc_reload
Hook for cache reload . When a SIGHUP arrives it schedules a call to mapc_reload
static RETSIGTYPE
sighup(int sig)
{
#ifdef REINSTALL_SIGNAL_HANDLER
  signal(sig, sighup);
#endif 
  if (sig != SIGHUP)
    dlog("spurious call to sighup");
  if (amd_state == Run)
    do_mapc_reload = 0;
}
static RETSIGTYPE sighup ( int sig ) { #ifdef REINSTALL_SIGNAL_HANDLER signal ( sig , sighup ) ; #endif if ( sig != SIGHUP ) dlog ( " " ) ; if ( amd_state == Run ) do_mapc_reload = 0 ; }
Hook for cache reload.
Hook for cache reload .
/* REINSTALL_SIGNAL_HANDLER */ /*
   * Force a reload by zero'ing the timer
   */