Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Christian Limpach <cl@netbsd.org>
List: source-changes
Date: 01/16/2004 15:23:31
Module Name:	src
Committed By:	cl
Date:		Fri Jan 16 15:23:31 UTC 2004

Modified Files:
	src/lib/libpthread: pthread_run.c pthread_sa.c

Log Message:
- delay making a thread unblocked until it's put on the runqueue.
- simplify handling of blocked idle threads.

This should fix the ``assertion "target->pt_state != PT_STATE_RUNNING
|| target->pt_blockgen != target->pt_unblockgen" failed'' problem
reported by Marc Recht and Steve Bellovin on current-users.

Also g/c unused pthread__sched_bulk call left over from pthread_sa.c
rev. 1.22 change.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/lib/libpthread/pthread_run.c
cvs rdiff -r1.26 -r1.27 src/lib/libpthread/pthread_sa.c

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