Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 08/12/2004 10:54:13
Module Name:	src
Committed By:	yamt
Date:		Thu Aug 12 10:54:13 UTC 2004

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

Log Message:
- fix pthread_detach with an already exit'ed thread.
  namely, put the thread to deadqueue rather than just leaking it.
- fix a race between pthread_detach/join and pthread_exit,
  which also causes dead thread leaks.


To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 src/lib/libpthread/pthread.c

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