
#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