Subject: CVS commit: src/lib/libpthread
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 02/27/2003 00:02:50
Module Name:	src
Committed By:	thorpej
Date:		Wed Feb 26 22:02:49 UTC 2003

Modified Files:
	src/lib/libpthread: pthread.c pthread.h pthread_int.h shlib_version

Log Message:
Add support for naming a thread, using an API compatible with Tru64 Unix:
* pthread_attr_getname_np()
* pthread_attr_setname_np()
* pthread_getname_np()
* pthread_setname_np()

In addition to being query'able by the application (for log messages, etc.),
it is intended that these names can show up in the debugger.

Reviewed by nathanw.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/lib/libpthread/pthread.c
cvs rdiff -r1.8 -r1.9 src/lib/libpthread/pthread.h \
    src/lib/libpthread/pthread_int.h
cvs rdiff -r1.3 -r1.4 src/lib/libpthread/shlib_version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.