On Tue, Jul 18, 2017 at 01:43:42PM +0100, David CARLIER wrote: > Ah I recognise you you re Mozilla contributor right ? You re probably right > but that was just an example eventhough I admit it s not extremely widely > used ...
Note that you'll have to be careful in your arguments for this function: - _np prefix is for 'nonportable' so nothing standardises it - some oses have getname_np, freebsd has get_name_np - linux and netbsd share the function name but not the prototype for setname_mp ? - macos enforces the running thread to set its own name (cf https://stackoverflow.com/a/7989973) so.... this looks like a shitshow, and a pretty good reason for not having it :)