Moved the CString functions to GHC.CString in ghc-prim (needed for the new generic...
[ghc-base.git] / GHC / IO.hs
index 9fa7299..7295a2c 100644 (file)
--- a/GHC/IO.hs
+++ b/GHC/IO.hs
@@ -342,6 +342,7 @@ getMaskingState  = IO $ \s ->
                              1# -> MaskedUninterruptible
                              _  -> MaskedInterruptible #)
 
+{-# DEPRECATED blocked "use Control.Exception.getMaskingState instead" #-}
 -- | returns True if asynchronous exceptions are blocked in the
 -- current thread.
 blocked :: IO Bool