Subject: CVS commit: [nathanw_sa] basesrc/lib/libpthread
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 09/25/2001 22:39:29
Module Name:	basesrc
Committed By:	nathanw
Date:		Tue Sep 25 19:39:29 UTC 2001

Modified Files:
	basesrc/lib/libpthread [nathanw_sa]: pthread.c

Log Message:
Use getcontext() instead of _getcontext() before initializing the
new thread state with makecontext(), since the callee-save registers saved
by _getcontext() may not include the registers needed by makecontext().

Unfortunately, this implies a syscall for every new thread creation.


To generate a diff of this commit:
cvs rdiff -r1.1.2.11 -r1.1.2.12 basesrc/lib/libpthread/pthread.c

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