[GHC] #804: Signal handlers always installed, evem in a DLL
GHC
trac at galois.com
Mon Jun 26 09:42:31 EDT 2006
#804: Signal handlers always installed, evem in a DLL
-------------------------+--------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.4.2
Severity: normal | Keywords:
Os: Unknown | Difficulty: Unknown
Architecture: Unknown |
-------------------------+--------------------------------------------------
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
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/804>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list