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 pthread.cc thread. ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	rbcollins@sources.redhat.com	2002-09-29 16:47:46

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

Log message:
	2002-09-30  Robert Collins <rbtcollins@hotmail.com>
	
	* pthread.cc (pthread_mutex_init): Use new pthread_mutex::init.
	* thread.cc: Change __pthread_mutex_init to pthread_mutex::init
	throughout.
	(MTinterface::Init): Initialise pthread_mutex support.
	(pthread_mutex::mutexInitializationLock): Instantiate.
	(pthread_mutex::initMutex): New method.
	(__pthread_cond_dowait): Don't dereference untrusted pointers.
	Use the new pthread_mutex::init method.
	(__pthread_condattr_init): Don't dereference untrusted pointers.
	(__pthread_mutex_init): Rename to pthread_mutex::init.
	Lock and release mutexInitializationLock to prevent races on
	mutex initialisation.
	* thread.h (pthread_mutex::initMutex): New method, initialise
	pthread_mutex supporting state on process initialisation.
	(pthread_mutex::init): Initialise a single mutex.
	(pthread_mutex::mutexInitializationLock): A win32 mutex for
	syncronising pthread mutex initialisation.
	(__pthread_mutex_init): Remove this.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1504&r2=1.1505
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/pthread.cc.diff?cvsroot=src&r1=1.17&r2=1.18
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.89&r2=1.90
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=src&r1=1.50&r2=1.51


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