[GHC] #9030: An async exception handler that blocks throwTo until handler finishes running

GHC ghc-devs at haskell.org
Thu Apr 24 05:29:58 UTC 2014


#9030: An async exception handler that blocks throwTo until handler finishes
running
-------------------------------------+------------------------------------
        Reporter:  jberryman         |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.8.2
      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 jberryman):

 I don't really follow you. I'm certainly already masking exceptions in my
 `readChan` to avoid leaving the structure in a broken state, but an
 exception can (and must be permitted to) be raised when `readChan` is
 blocking on an empty queue (blocking on an MVar internally).

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


More information about the ghc-tickets mailing list