[PATCH] Fixed race in __pthread_mutex_init

Robert Collins robert.collins@itdomain.com.au
Fri Apr 26 02:43:00 GMT 2002



> -----Original Message-----
> From: Thomas Pfaff [mailto:tpfaff@gmx.net] 
> Sent: Friday, April 26, 2002 7:08 PM
> To: cygwin-patches@cygwin.com
> Subject: [PATCH] Fixed race in __pthread_mutex_init
> 
> 
> __pthead_mutex_init had a race condition if the mutex is 
> initialized with PTHREAD_MUTEX_INITIALIZER (the mutex could 
> be initialized by two threads simultanously). The patch wraps 
> a mutex around mutex creation.
> 
> This is will be the last patch for a while. The feedback for 
> the previous ones was a little low, i do not know if no one 
> (except Rob) is interested in pthreads for cygwin or my 
> patches are not welcome. I will wait for comments now.

I'm the pthread maintainer, so you only need my interest :}.

I'm reviewing your other patches at the moment.. I'll have some feedback
for you before too much longer.

Rob



More information about the Cygwin-patches mailing list