Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 07/16/2005 23:14:53
Module Name:	src
Committed By:	nathanw
Date:		Sat Jul 16 23:14:53 UTC 2005

Modified Files:
	src/lib/libpthread: pthread_mutex.c

Log Message:
Add cancellation protection to pthread_once() as per the standard; if
the once routine is cancelled, the effect on once_control is as if
pthread_once() was never called.

Bug report and fix from PR lib/30734.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/lib/libpthread/pthread_mutex.c

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