[PATCH] Separate pthread fixes #1

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu Jun 4 01:30:00 GMT 2009

On Thu, Jun 04, 2009 at 12:11:24AM +0100, Dave Korn wrote:
>  The attached patch separates out the uncontroversial change to the
>__cygwin_lock* functions.
>	* thread.cc (__cygwin_lock_lock):  Delete racy optimisation.
>	(__cygwin_lock_unlock):  Likewise.
>  OK?

Yes.  Thanks.

FWIW, I have made this same change many times over the years but I was
always afraid of the performance hit so I've ended up reverting it.
Since you've demonstrated a real problem, performance concerns obviously
don't matter.


More information about the Cygwin-patches mailing list