[vlc-devel] [PATCH 1/4] thread: add a function to give names to threads
Rémi Denis-Courmont
remi at remlab.net
Thu Nov 12 09:48:39 CET 2020
Le tiistaina 10. marraskuuta 2020, 11.39.19 EET Thomas Guillem a écrit :
> Hello,
>
> Cool feature that will help us a lot.
>
> Could we set the name of the thread from the vlc_clone function() instead?
There are 3 ways to expose this:
- as a parameter to vlc_clone(),
- as a function to set the calling thread name,
- as a function to set a current process' thread name.
It depends if you want flexibility for the implementation or the usage.
Unless there's a platform that requires passing the name while creating the
thread, I don't see the benefit of the first approach.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list