Skip to content
  • Simon Marlow's avatar
    rts_checkSchedStatus: exit the thread, not the process, when Interrupted · 674cf902
    Simon Marlow authored
    This means that when the process is shutting down, if we have calls to
    foreign exports in progress, they get forcibly terminated as before,
    but now they only shut down the calling thread rather than the whole
    process (with -threaded).
    
    This came up in a discussion started by Akio Takano on ghc-users.
    674cf902