
#9539: TQueue can lead to thread starvation -------------------------------------+------------------------------------- Reporter: jwlato | Owner: ekmett Type: bug | Status: new Priority: normal | Milestone: Component: Core Libraries | Version: 7.8.2 Resolution: | Keywords: stm Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by simonmar): Ok, I've just taken a brief look and I can't off the top of my head remember why the reverse is strict inside the STM transaction. If the lazy version solves the problem and isn't any slower, we should use that. But it needs someone to run some benchmarks - I think I have a benchmark somewhere that I can dig up, but if anyone else want to do some quick measurements please go ahead. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9539#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler