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

Gwern Branwen gwern0 at gmail.com
Tue Dec 16 17:45:17 EST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Mon, Dec 15, 2008 at 9:00 AM, Simon Marlow  wrote:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREKAAYFAklIL3wACgkQvpDo5Pfl1oIqAgCdHruLx+LQ1j7vaoJM3VD2vpNr
rG0An0IL9ZXTmwd0bcp0V9clBy6UYeGt
=UHCv
-----END PGP SIGNATURE-----


> This particular example illustrates a bug in 6.10.1 that we've since fixed:
>
>  http://hackage.haskell.org/trac/ghc/ticket/2783

OK, that's good...

> However in general you can still write expressions that don't allocate
> anything (e.g. nfib 1000), and your watchdog thread won't get a chance to
> run unless there's a spare CPU available (+RTS -N2).
>
> Cheers,
>        Simon

But that's bad. What are my options here? Will this
threads-not-running issue be fixed in the next release? Since it
worked fine in 6.8 as far as I could tell, that makes me think that it
must not be anything completely fundamental and unfixable.

--
gwern


More information about the Haskell-Cafe mailing list