Add allowInterrupt :: IO () (#4810)
authorSimon Marlow <marlowsd@gmail.com>
Wed, 22 Dec 2010 10:01:49 +0000 (10:01 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 22 Dec 2010 10:01:49 +0000 (10:01 +0000)
commit070240069b56cf719858cb3100c3f72766f7d39d
tree5fd90039677690611b9365b6da5e2a3f3d975e55
parent39c721869eb55206532179f926ec947ef12b1842
Add allowInterrupt :: IO ()  (#4810)

docs:

-- | When invoked inside 'mask', this function allows a blocked
-- asynchronous exception to be raised, if one exists.  It is
-- equivalent to performing an interruptible operation (see
-- #interruptible#), but does not involve any actual blocking.
--
-- When called outside 'mask', or inside 'uninterruptibleMask', this
-- function has no effect.
Control/Exception.hs