Repository : ssh://darcs.haskell.org//srv/darcs/packages/base On branch : master
http://hackage.haskell.org/trac/ghc/changeset/6e71bdd5742a62bcd239757f3cc8872d1615fc26 >--------------------------------------------------------------- commit 6e71bdd5742a62bcd239757f3cc8872d1615fc26 Author: Edward Z. Yang <[email protected]> Date: Tue Jul 26 23:08:16 2011 -0400 Remove mention of setUncaughtExceptionHandler from forkIO. First of all, the 'forkIO' mechanism doesn't use 'setUncaughtExceptionHandler' to install the masking handler: it uses 'catchException'. Second of all, 'setUncaughtExceptionHandler' is undocumented, global, and wouldn't even work for the intended purpose! Signed-off-by: Edward Z. Yang <[email protected]> >--------------------------------------------------------------- GHC/Conc/Sync.lhs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/GHC/Conc/Sync.lhs b/GHC/Conc/Sync.lhs index f16ee3f..4475d2e 100644 --- a/GHC/Conc/Sync.lhs +++ b/GHC/Conc/Sync.lhs @@ -192,7 +192,7 @@ GHC note: the new thread inherits the /masked/ state of the parent The newly created thread has an exception handler that discards the exceptions 'BlockedIndefinitelyOnMVar', 'BlockedIndefinitelyOnSTM', and 'ThreadKilled', and passes all other exceptions to the uncaught -exception handler (see 'setUncaughtExceptionHandler'). +exception handler. -} forkIO :: IO () -> IO ThreadId forkIO action = IO $ \ s -> _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
