ghc --make: add nicer names to RTS threads (threaded IO manager, make workers)
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 4 Aug 2014 13:10:33 +0000 (08:10 -0500)
committerAustin Seipp <austin@well-typed.com>
Mon, 4 Aug 2014 13:10:33 +0000 (08:10 -0500)
commitf6866824ce5cdf5359f0cad78c49d65f6d43af12
treed6f4c1f81420a2a24aab543cd991fcf74987ea26
parent65e5dbcd3971cb3ef5b9073096e5d063034b90c1
ghc --make: add nicer names to RTS threads (threaded IO manager, make workers)

Summary:
The patch names most of RTS threads
and ghc (the tool) threads.

It makes nicer debug and eventlog output for ghc itself.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Test Plan: ran debugged ghc under '+RTS -Ds'

Reviewers: simonmar, austin

Reviewed By: austin

Subscribers: phaskell, simonmar, relrod, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D101
compiler/main/GhcMake.hs
libraries/base/GHC/Event/Thread.hs