Getting a thread name

Willem Jan Withagen wjw at digiware.nl
Wed Mar 30 10:42:00 UTC 2016


Hi,

pthread_np has a call: pthread_set_name(tid, str).

Now I'm looking for a way of retrieving that name. But there is no:
pthread_get_name() in the same set.

But I see top actually displaying the threadnames. So can somebody give
me a hint where to look? Other than going thru top...

Thanx,
--WjW


More information about the freebsd-hackers mailing list