[GHC] #4857: Add Control.Exception.allowInterrupt

GHC cvs-ghc at haskell.org
Wed Dec 22 23:18:40 CET 2010


#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 mitar):

 Hm, my initial idea was to make `uninterruptibleMask` more useful if you
 can also (at precise location) accept exception inside it.

 Maybe we should need two `allowInterrupt` functions? And leave to
 developers to choose the one they want?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4857#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list