Ignore:
Timestamp:
Jul 11, 2011, 8:42:13 PM (8 years ago)
Author:
rme
Message:

Change signature of install_signal_handler() and update
callers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/pmcl-kernel.c

    r14729 r14873  
    815815  SetConsoleCtrlHandler(ControlEventHandler,TRUE);
    816816#else
    817   install_signal_handler(SIGINT, (void *)user_signal_handler, false, false);
    818   install_signal_handler(SIGTERM, (void *)user_signal_handler, false, false);
    819   install_signal_handler(SIGQUIT, (void *)user_signal_handler, false, false);
     817  install_signal_handler(SIGINT, (void *)user_signal_handler, 0);
     818  install_signal_handler(SIGTERM, (void *)user_signal_handler, 0);
     819  install_signal_handler(SIGQUIT, (void *)user_signal_handler, 0);
    820820#endif
    821821}
     
    835835  if (user_signal_semaphores[signo] == 0) {
    836836    user_signal_semaphores[signo] = (natural)new_semaphore(0);
    837     install_signal_handler(signo,(void *)user_signal_handler, false, false);
     837    install_signal_handler(signo,(void *)user_signal_handler, 0);
    838838  }
    839839  return wait_on_semaphore((void *)user_signal_semaphores[signo],seconds,milliseconds);
Note: See TracChangeset for help on using the changeset viewer.