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

and the PlatformThread::CurrentId()
have to be modified to use

    long lwpid;
    syscall(SYS_thr_self, &lwpid);
    return lwpid;

for us.

Petr


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to