Subject: CVS commit: [netbsd-2-0] src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 08/30/2004 10:01:22
Module Name:	src
Committed By:	tron
Date:		Mon Aug 30 10:01:22 UTC 2004

Modified Files:
	src/lib/libpthread [netbsd-2-0]: pthread.c

Log Message:
Pull up revision 1.36 (requested by yamt in ticket #801):
- 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.33 -r1.33.2.1 src/lib/libpthread/pthread.c

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