OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1363-gee05a1b
Gerrit Code Review
gerrit@openafs.org
Mon, 11 Jul 2011 11:32:49 -0700 (PDT)
The following commit has been merged in the master branch:
commit ee05a1b086cf0613b340da9d977658e309981ea3
Author: Garrett Wollman <wollman@csail.mit.edu>
Date: Fri Jul 8 00:09:43 2011 -0400
viced: If platform supports setting a thread title, do so
Some pthread libraries support setting a name or title for individual
threads (analogous to setproctitle() for processes). This can be useful
for debugging and is sometimes published for use by utilities like ps
(again like setproctitle() for processes). The two most common variants
of this have the same signature with slightly different function names.
If either one is present, use it in viced (which already assigns a thread
name when compiled for LWP but ignores it in pthreads compilations).
Change-Id: I5486aa6a21dbc3c8885b94ad52c2b1a66baae81f
Reviewed-on: http://gerrit.openafs.org/4950
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
acinclude.m4 | 10 ++++++++++
src/viced/viced.c | 11 +++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository