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]

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


CVSROOT:	/cvs/src
Module name:	src
Changes by:	tpfaff@sourceware.org	2004-03-04 21:04:14

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

Log message:
	* include/pthread.h (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP):
	New define.
	(PTHREAD_NORMAL_MUTEX_INITIALIZER_NP): Ditto.
	(PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Ditto.
	* thread.cc (pthread_mutex::is_good_initializer):
	Check for all posssible initializers
	(pthread_mutex::is_good_initializer_or_object): Ditto.
	(pthread_mutex::is_good_initializer_or_bad_object): Ditto.
	(verifyable_object_isvalid): Support up to three static
	initializers.
	(verifyable_object_isvalid (void const *,long)): Remove.
	(pthread_cond::is_good_initializer_or_bad_object): Remove
	unneeded objectState var.
	(pthread_cond::init): Condition remains unchanged when creation
	has failed.
	(pthread_rwlock::is_good_initializer_or_bad_object): Remove
	unneeded objectState var.
	(pthread_rwlock::init): Rwlock remains unchanged when creation
	has failed.
	(pthread_mutex::init): Remove obsolete comment.
	Mutex remains unchanged when creation has failed. Add support
	for new initializers.
	(pthread_mutex_getprioceiling): Do not create mutex,
	just return ENOSYS.
	(pthread_mutex_lock): Simplify.
	(pthread_mutex_trylock): Remove unneeded local themutex.
	(pthread_mutex_unlock): Just return EPERM if mutex is not
	initialized.
	(pthread_mutex_setprioceiling): Do not create mutex,
	just return ENOSYS.
	* thread.h (verifyable_object_isvalid): Support up to three
	static initializers.
	(verifyable_object_isvalid (void const *,long)): Remove
	prototype.
	(pthread_mutex::init): Add optional initializer to parameter
	list.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2339&r2=1.2340
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.162&r2=1.163
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=src&r1=1.88&r2=1.89
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/pthread.h.diff?cvsroot=src&r1=1.19&r2=1.20


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