Subject: CVS commit: [wrstuden-fixsa] src/regress/lib/libpthread/sigrunning
To: None <source-changes@NetBSD.org>
From: Bill Stouder-Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 11/04/2007 06:07:53
Module Name:	src
Committed By:	wrstuden
Date:		Sun Nov  4 06:07:53 UTC 2007

Added Files:
	src/regress/lib/libpthread/sigrunning [wrstuden-fixsa]: Makefile
	    sigrunning.c

Log Message:
Add a new regression test, sigrunning. This test has multiple
test cases, each of which exercises a different pthread_check_defsig()
test point. Currently does sched_yield(), pthread_cond_wait(),
and pthread_cond_timedwait(). More coming.

Uses __pthread_running_kills to make sure we actually sent the signal to a
running thread before we exit.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1.2.1 src/regress/lib/libpthread/sigrunning/Makefile \
    src/regress/lib/libpthread/sigrunning/sigrunning.c

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