Skip to content
Snippets Groups Projects
Commit 1cd69b9b authored by Ben Gamari's avatar Ben Gamari
Browse files

base: Fix documentation for forkIOWithUnmask

forkIOUnmasked has been deprecated for several years now. Update reference to
it. See #4858 and #5546.

(cherry picked from commit 18401210)
parent 6723c2fd
No related merge requests found
......@@ -335,7 +335,7 @@ onException io what = io `catchException` \e -> do _ <- what
-- use @mask_ $ forkIO ...@. This is particularly useful if you need
-- to establish an exception handler in the forked thread before any
-- asynchronous exceptions are received. To create a a new thread in
-- an unmasked state use 'Control.Concurrent.forkIOWithUnmask'.
--
mask :: ((forall a. IO a -> IO a) -> IO b) -> IO b
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment