#5055: STM Exception "BlockedIndefinitelyOnSTM" throws to wrong thread
---------------------------+------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.3
Resolution: wontfix | Keywords: stm
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
---------------------------+------------------------------------------------
Comment(by guest):
Sorry for the dup, that information (properly formated) I hoped the RTS
would determine is:
{{{
blkB (threads blocked on "TVar b") [1]
blkI (threads blocked on "TVar i") [2]
refB (threads with references to TVar b) [1,2]
refI (threads with references to TVar i) [2]
}}}
And the current method of throwing exceptions to each thread seems
necessary to deal with situations such as:
{{{
blkA [1]
blkB [2]
refA [1,2]
refB [1,2]
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5055#comment:3>
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