Proposal: Add forkOSUnmasked to Control.Concurrent
Edward Kmett
ekmett at gmail.com
Tue Aug 19 12:24:25 UTC 2014
Joey Adams wrote a request a year or so ago to add forkOSUnmasked to
Control.Concurrent
-- | Like 'forkIOWithUnmask', but the child thread is a bound thread,
as with 'forkOS'.
forkOSWithUnmask :: ((forall a . IO a -> IO a) -> IO ()) -> IO ThreadId
forkOSWithUnmask io = forkOS (io unsafeUnmask)
http://www.haskell.org/pipermail/libraries/2013-June/020271.html
but it received no discussion. (He didn't formally open a discussion period
though).
It has languished as a GHC trac ticket for a year now.
https://ghc.haskell.org/trac/ghc/ticket/8010
Now that we do not have block there are situations where you can need this.
I'm opening this up for bikeshedding.
Thoughts?
Discussion period: 2 weeks.
-Edward
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20140819/22c3b756/attachment.html>
More information about the Libraries
mailing list