This is the mail archive of the 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. ...

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2002-09-29 16:47:46

Modified files:
	winsup/cygwin  : ChangeLog thread.h 

Log message:
	2002-09-30  Robert Collins <>
	* (pthread_mutex_init): Use new pthread_mutex::init.
	* Change __pthread_mutex_init to pthread_mutex::init
	(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.


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