Skip to content
  • Paul Sokolovsky's avatar
    unix/unix_mphal: Raise KeyboardInterrupt straight from signal handler. · 1c9210bc
    Paul Sokolovsky authored
    POSIX doesn't guarantee something like that to work, but it works on any
    system with careful signal implementation. Roughly, the requirement is
    that signal handler is executed in the context of the process, its main
    thread, etc. This is true for Linux. Also tested to work without issues
    on MacOSX.
    1c9210bc