Signal handlers always installed, evem in a DLL
Even when building a DLL the GHC runtime system will install signal handlers for SIGINT, etc. This done in RtsStartup.c by calling initUserSignals() and initDefaultHandlers(). This is all good when running a standalone program, but very dubious if generating a DLL. For a DLL it's likely that the main program will handle signals, and the GHC-RTS should keep its greedy little paws away from the signals. :) A flag to control this would be appreciated.
-- Lennart
Trac metadata
Trac field | Value |
---|---|
Version | 6.4.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |