Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2016 12:41:45 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        freebsd-hackers@freebsd.org
Subject:   Getting a thread name
Message-ID:  <56FBAD69.908@digiware.nl>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56FBAD69.908>