This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

winsup/cygwin ChangeLog thread.cc thread.h inc ...


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sourceware.org	2005-06-11 04:56:36

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

Log message:
	* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to PTHREAD_MUTEX_NORMAL.
	Revert PTHREAD_MUTEX_INITIALIZER to PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
	since that is actually closer to what linux does.
	* thread.h (cw_cancel_action): New enum.
	(cancelable_wait): Use cw_cancel_action as third argument.
	* thread.cc (cancelable_wait): Ditto.  Don't wait for cancel if cancel_action
	== cw_no_cancel.
	(pthread::create): Don't wait for cancel event since that is racy.
	(pthread_mutex::pthread_mutex): Set default to PTHREAD_MUTEX_ERRORCHECK.
	(pthread_mutexattr::pthread_mutexattr): Ditto.
	(pthread_mutex::_lock): Tell cancelable_wait not to wait for cancellation
	event.
	(semaphore::_timedwait): Accommodate change in cancelable_wait args.
	(pthread::join): Ditto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.2959&r2=1.2960
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/thread.cc.diff?cvsroot=uberbaum&r1=1.182&r2=1.183
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/thread.h.diff?cvsroot=uberbaum&r1=1.96&r2=1.97
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/include/pthread.h.diff?cvsroot=uberbaum&r1=1.22&r2=1.23


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]