#4994: Deprecate Control.Exception.blocked in favour of getMaskingState
---------------------------------+------------------------------------------
Reporter: basvandijk | Owner:
Type: task | Status: new
Priority: normal | Component: libraries/base
Version: 7.0.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
I [http://www.haskell.org/pipermail/libraries/2011-February/015859.html
proposed] deprecating `Control.Exception.blocked` in
favour of `getMaskingState`.
The term "blocked" refers to the old way of dealing with asynchronous
exceptions (`block`/`unblock`). It can also be a bit confusing to which
"blocked" property it refers: blocked asynchronous exceptions, or a
blocked thread.
Note that `blocked` is already listed in the section
[http://hackage.haskell.org/packages/archive/base/4.3.0.0/doc/html
/Control-Exception.html#12 "(deprecated) Asynchronous exception control"]
There were no objections and one +1 from Simon Marlow.
The patch is attached.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4994>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs