simonmar 2006/01/12 08:16:30 PST
Modified files:
ghc/compiler/ghci InteractiveUI.hs
ghc/compiler/main GHC.hs
ghc/compiler/utils Panic.lhs
Log:
GHC.runStmt: run the statement in a new thread to insulate the
environment from bad things that the user code might do, such as fork
a thread to send an exception back at a later time. In order to do
this, we had to keep track of which thread the ^C exception should go
to in a global variable.
Also, bullet-proof the top-level exception handler in GHCi a bit;
there was a small window where an exception could get through, so if
you lean on ^C for a while then press enter you could cause GHCi to
exit.
Revision Changes Path
1.221 +8 -5 fptools/ghc/compiler/ghci/InteractiveUI.hs
1.54 +27 -19 fptools/ghc/compiler/main/GHC.hs
1.36 +15 -6 fptools/ghc/compiler/utils/Panic.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc