#4857: Add Control.Exception.allowInterrupt
---------------------------------+------------------------------------------
    Reporter:  simonmar          |        Owner:              
        Type:  proposal          |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  libraries/base    |      Version:  7.0.1       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonmar):

 Replying to [comment:4 mitar]:
 > Why it should not have any effect inside the `uninterruptibleMask`?

 This is a free design choice, although I think it makes more sense and is
 more consistent for `allowInterrupt` to be a no-op inside
 `uninterruptibleMask`.  Think of `allowInterrupt` as an interruptible
 operation, like `takeMVar`, but one that just returns immediately without
 actually blocking.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4857#comment:5>
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

Reply via email to