[commit: base] master: update ref to deprecated function forkIOUnmasked -> forkIOWithUnmask (#5546) (1dd55b3)

Simon Marlow marlowsd at gmail.com
Tue Oct 18 17:27:44 CEST 2011


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/1dd55b30cdbcd13d581ee533e527b9098b770e96

>---------------------------------------------------------------

commit 1dd55b30cdbcd13d581ee533e527b9098b770e96
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Tue Oct 18 10:42:31 2011 +0100

    update ref to deprecated function forkIOUnmasked -> forkIOWithUnmask (#5546)

>---------------------------------------------------------------

 GHC/IO.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/GHC/IO.hs b/GHC/IO.hs
index cc4fbb4..ada5b53 100644
--- a/GHC/IO.hs
+++ b/GHC/IO.hs
@@ -381,7 +381,7 @@ onException io what = io `catchException` \e -> do _ <- what
 -- with exceptions masked, you can be sure that the library call will not be
 -- able to unmask exceptions again.  If you are writing library code and need
 -- to use asynchronous exceptions, the only way is to create a new thread;
--- see 'Control.Concurrent.forkIOUnmasked'.
+-- see 'Control.Concurrent.forkIOWithUnmask'.
 --
 -- Asynchronous exceptions may still be received while in the masked
 -- state if the masked thread /blocks/ in certain ways; see





More information about the Cvs-libraries mailing list