Bug#699781: kFreeBSD/18

Petr Salinger Petr.Salinger at seznam.cz
Tue Feb 5 20:47:28 UTC 2013


>>> For the pthread_setname thing we, of course, need a more elegant
>>> solution. Hopefully someone with eglibc/kfreebsd knowledge can help?
>>> seems we are missing pthread_setname_np() which exists on linux (at
>>> least I couldn't find the header defining it).
>>
>> For properly setting thread name, we have to use syscall SYS_thr_set_name
>
> Hm so we cannot implement pthread_setname_np()? or is it just not done
> (yet)?

It is available only under nptl/linux since
   GLIBC_2.12 {
     pthread_setname_np; pthread_getname_np;
   };

Adding a new symbol into our linuxthreads based pthread
implementation is a little problematic.

Petr



More information about the pkg-mozilla-maintainers mailing list