giving a label to a thread

Sylvain Henry sylvain at haskus.fr
Wed Nov 6 08:03:01 UTC 2024


Hi,

Good idea. I've opened https://gitlab.haskell.org/ghc/ghc/-/issues/25452 
to track this.

Sylvain


On 06/11/2024 00:06, Kazu Yamamoto (山本和彦) via ghc-devs wrote:
> Hi all,
>
> GHC 9.6 provides listThreads.  This is very useful to check thread
> leaks on network servers.  Thanks.
>
> Users cannot label threads if fundamental functions fork threads
> without labelling.  A good example is "timeout".  If there are many
> threads without label, the debugging gets harder.
>
> So, I would like to ask to label threads in libraries shipped with
> GHC.
>
> --Kazu
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


More information about the ghc-devs mailing list