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

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	marc_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2003/01/24 14:03:15

Modified files:
	lib/libpthread/uthread: pthread_private.h uthread_kern.c 
	                        uthread_sig.c 

Log message:
save and restore fp state when switching threads.   This, with
an arch/i386 patch previously commited and arch/sparc64 patches
from jason@ make the preemption_float test pass on those two
architectures.

Do not run signal handlers for a thread until the thread has
been made current, ensuring the proper context.   Solves several
(if not all) of the '_pq_insert_tail: Already in priority queue'
problems.



Visit your host, monkey.org