This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
RE: [PATCH] Fixed race in __pthread_mutex_init
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- To: "Thomas Pfaff" <tpfaff at gmx dot net>,<cygwin-patches at cygwin dot com>
- Date: Fri, 26 Apr 2002 19:43:47 +1000
- Subject: RE: [PATCH] Fixed race in __pthread_mutex_init
> -----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