Signal handlers always installed, evem in a DLL
|Reported by:||guest||Owned by:||igloo|
|Type of failure:||Difficulty:||Easy (less than 1 hour)|
|Test Case:||Blocked By:|
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.