[Haskell-cafe] Re: Threads not running under GHC 6.10?

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Dec 17 08:19:18 EST 2008


Hello Simon,

Wednesday, December 17, 2008, 4:05:48 PM, you wrote:

> I'm afraid the underlying problem is one that GHC has always had - that we
> can't preempt threads that aren't allocating.  It's not easily fixable, we
> would have to inject dummy heap checks into every non-allocating loop,
> which would seriously hurt performance for those tight loops.

just technical note - if we unroll such loops and insert one check per
10 repetitions, it may be ok. although conditional execution may be a
problem for such solution


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list