[GHC] #8684: hWaitForInput cannot be interrupted by async exceptions on unix

GHC ghc-devs at haskell.org
Wed Jan 29 19:40:08 UTC 2014


#8684: hWaitForInput cannot be interrupted by async exceptions on unix
-------------------------------------+------------------------------------
        Reporter:  nh2               |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  libraries/base    |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by ezyang):

 Replying to [ticket:8684 nh2]:
 > Is that true?

 This would work fine for Unix. It would be good to test if it does the
 right thing with CancelSynchronousIO as well.

 > Also, does {{{interruptible}}}, apart from allowing the function to be
 interrupted, behave more like {{{safe}}} or {{{unsafe}}}?

 Interruptible acts like {{{safe}}}, except for the extra signal throwing
 behavior.

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


More information about the ghc-tickets mailing list