Changeset 14876


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

In thread_signal_setup(): have the system restart system
calls when we get SIG_SUSPEND_THREAD.

Location:
trunk/source/lisp-kernel
Files:
3 edited

Legend:

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

    r14873 r14876  
    19841984
    19851985  install_signal_handler(thread_suspend_signal, (void *)suspend_resume_handler,
    1986                          RESERVE_FOR_LISP);
     1986                         RESERVE_FOR_LISP|RESTART_SYSCALLS);
    19871987  install_signal_handler(thread_kill_signal, (void *)thread_kill_handler,
    19881988                         RESERVE_FOR_LISP);
  • trunk/source/lisp-kernel/ppc-exceptions.c

    r14873 r14876  
    23012301
    23022302  install_signal_handler(thread_suspend_signal, (void *)suspend_resume_handler,
    2303                          RESERVE_FOR_LISP);
     2303                         RESERVE_FOR_LISP|RESTART_SYSCALLS);
    23042304  install_signal_handler(thread_kill_signal, (void *)thread_kill_handler,
    23052305                         RESERVE_FOR_LISP);
  • trunk/source/lisp-kernel/x86-exceptions.c

    r14875 r14876  
    23112311
    23122312  install_signal_handler(thread_suspend_signal, (void *)SUSPEND_RESUME_HANDLER,
    2313                          RESERVE_FOR_LISP|ON_ALTSTACK);
     2313                         RESERVE_FOR_LISP|ON_ALTSTACK|RESTART_SYSCALLS);
    23142314  install_signal_handler(thread_kill_signal, (void *)THREAD_KILL_HANDLER,
    23152315                         RESERVE_FOR_LISP|ON_ALTSTACK);
Note: See TracChangeset for help on using the changeset viewer.