#4888: Document behaviour of throwTo to your own ThreadId
---------------------------------+------------------------------------------
    Reporter:  batterseapower    |        Owner:  simonmar         
        Type:  bug               |       Status:  new              
    Priority:  normal            |    Milestone:  7.2.1            
   Component:  Documentation     |      Version:  7.0.1            
    Keywords:                    |     Testcase:                   
   Blockedby:                    |   Difficulty:                   
          Os:  Unknown/Multiple  |     Blocking:                   
Architecture:  Unknown/Multiple  |      Failure:  Documentation bug
---------------------------------+------------------------------------------
Changes (by simonmar):

  * owner:  => simonmar


Comment:

 Replying to [ticket:4888 batterseapower]:

 > Both of them raise the exception immediately and thus terminate the
 program. However, given the docs for throwTo and uninterruptibleMask an
 equally valid interpretation would be for the second test to block
 forever. Clarifying this might be useful.

 Yes, we should add something to the docs.

 > (If you try either example in GHCi then no exception is thrown - is that
 a bug?)

 Quite possibly.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to