#1657: throwTo + unsafeInterleaveIO oddness
-------------------------------+--------------------------------------------
    Reporter:  guest           |        Owner:         
        Type:  bug             |       Status:  new    
    Priority:  normal          |    Milestone:         
   Component:  Runtime System  |      Version:  6.6.1  
    Severity:  normal          |   Resolution:         
    Keywords:                  |   Difficulty:  Unknown
          Os:  Windows         |     Testcase:         
Architecture:  x86             |  
-------------------------------+--------------------------------------------
Changes (by guest):

  * cc:  => [EMAIL PROTECTED]

Comment:

 I just realized I didn't really describe what the bug actually is :)

 If the "throwTo" happens while the system in in a particular state (it
 seems to happen most often while the evaluation is printing something),
 then the exception gets embedded into the computation in progress and re-
 sent every time that computation is resumed, so a single throwTo causes
 the computation not to be resumable.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1657>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to