[GHC] #5902: Cannot tell from an exception handler whether the exception was asynchronous

GHC ghc-devs at haskell.org
Tue Aug 13 11:54:32 CEST 2013


#5902: Cannot tell from an exception handler whether the exception was
asynchronous
-------------------------------------+------------------------------------
        Reporter:  simonmar          |            Owner:  simonmar
            Type:  bug               |           Status:  new
        Priority:  high              |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.4.1
      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 simonmar):

 @exbb2: we already have `SomeAsyncException`, and the asynchronous
 exceptions are children of this in the exception hierarchy.  The exception
 hierarchy needs a single root, so `SomeException` remains.

 > Every innocuous catch or try anywhere at any time in any library can
 make a thread unintentionally uncancelable

 I'm not sure what you mean here.  The issue in this ticket only arises
 when using `unsafePerformIO`.

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




More information about the ghc-tickets mailing list