Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 10/16/2005 00:37:52
Module Name:	src
Committed By:	chs
Date:		Sun Oct 16 00:37:52 UTC 2005

Modified Files:
	src/lib/libpthread: pthread.c pthread_sig.c

Log Message:
in pthread_kill() and pthread_suspend_np(), return without doing anything
if the target thread is a zombie.

in all the functions that didn't do so already, verify a pthread_t before
dereferencing it (under #ifdef ERRORCHECK, since these checks are not
mandated by the standard).

clean up some debugging stuff.


To generate a diff of this commit:
cvs rdiff -r1.43 -r1.44 src/lib/libpthread/pthread.c \
    src/lib/libpthread/pthread_sig.c

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