Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 07/21/2003 22:14:59
Module Name: src
Committed By: nathanw
Date: Mon Jul 21 22:14:58 UTC 2003
Modified Files:
src/lib/libpthread: pthread.c
Log Message:
Move initialization of variable 'nthreads' so that pthread_exit() from
the main thread, with no other threads created, exits cleanly instead
of triggering an assertion in pthread_next().
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/lib/libpthread/pthread.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.