src/winsup/cygwin ChangeLog thread.cc include/ ...

corinna@cygwin.com corinna@cygwin.com
Mon Jul 14 09:42:00 GMT 2014


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2014-07-14 09:42:15

Modified files:
	winsup/cygwin  : ChangeLog thread.cc 
	winsup/cygwin/include: pthread.h 

Log message:
	* thread.cc (pthread_mutex::pthread_mutex): Change default type
	to PTHREAD_MUTEX_NORMAL.
	(pthread_mutex::unlock): Return EPERM if the mutex has no owner and
	the mutex type is PTHREAD_MUTEX_ERRORCHECK, as on Linux.
	(pthread_mutexattr::pthread_mutexattr): Ditto.
	(pthread_mutex_unlock): Do not fail if mutex is a normal mutex
	initializer.
	* include/pthread.h (PTHREAD_MUTEX_INITIALIZER): Redefine as
	PTHREAD_NORMAL_MUTEX_INITIALIZER_NP.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6468&r2=1.6469
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.289&r2=1.290
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/pthread.h.diff?cvsroot=src&r1=1.39&r2=1.40



More information about the Cygwin-cvs mailing list