Changeset 14112


Ignore:
Timestamp:
Aug 3, 2010, 4:05:47 AM (9 years ago)
Author:
gb
Message:

Host changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/arm/lisp-kernel/x86-exceptions.c

    r13431 r14112  
    17471747#ifndef WINDOWS
    17481748void
    1749 install_signal_handler(int signo, void * handler)
     1749install_signal_handler(int signo, void * handler, Boolean system, Boolean on_altstack)
    17501750{
    17511751  struct sigaction sa;
     
    17601760    0 /* SA_RESTART */
    17611761#ifdef USE_SIGALTSTACK
    1762     | SA_ONSTACK
     1762    | on_altstack ? SA_ONSTACK : 0
    17631763#endif
    17641764    | SA_SIGINFO;
     
    19801980#endif
    19811981  ;
    1982   install_signal_handler(SIGILL, handler);
     1982  install_signal_handler(SIGILL, handler, true, true);
    19831983 
    1984   install_signal_handler(SIGBUS, handler);
    1985   install_signal_handler(SIGSEGV,handler);
    1986   install_signal_handler(SIGFPE, handler);
     1984  install_signal_handler(SIGBUS, handler, true, true);
     1985  install_signal_handler(SIGSEGV,handler, true, true);
     1986  install_signal_handler(SIGFPE, handler, true, true);
    19871987#endif
    19881988 
     
    19931993                         arbstack_interrupt_handler
    19941994#endif
    1995 );
     1995                         , true, true);
    19961996  signal(SIGPIPE, SIG_IGN);
    19971997}
     
    21872187  thread_kill_signal = SIG_KILL_THREAD;
    21882188
    2189   install_signal_handler(thread_suspend_signal, (void *)SUSPEND_RESUME_HANDLER);
    2190   install_signal_handler(thread_kill_signal, (void *)THREAD_KILL_HANDLER);
     2189  install_signal_handler(thread_suspend_signal, (void *)SUSPEND_RESUME_HANDLER, true, true);
     2190  install_signal_handler(thread_kill_signal, (void *)THREAD_KILL_HANDLER, true, true);
    21912191}
    21922192#endif
Note: See TracChangeset for help on using the changeset viewer.