Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [nathanw_sa] basesrc/lib/libpthread



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.




Home | Main Index | Thread Index | Old Index