www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/03/16:36:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4A26BE2C.3050403@gmail.com>
References: <9bfd07db0906020711p328add96h4314d412b817048c AT mail DOT gmail DOT com> <4A26BE2C DOT 3050403 AT gmail DOT com>
Date: Wed, 3 Jun 2009 22:36:40 +0200
Message-ID: <9bfd07db0906031336k6d6edd08ja179fc22bb6f4e3a@mail.gmail.com>
Subject: Re: [1.7] pthread_mutex_lock/pthread_mutex_unlock strange blocking problem
From: Thomas Stalder <cygwinml AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

The patchs from DaveK seems to correct all the problems.

Thanks to DaveK for his great and quick work.

Thomas

2009/6/3 Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>:
> Thomas Stalder wrote:
>> Hello,
>>
>> Sometimes pthread_mutex_lock ou pthread_mutex_unlock block.
>
> =A0Thank you very much for the simple testcases. =A0I have located an inv=
alid
> racy optimisation in cygwin's internal lock handling that leads to a dead=
lock
> owing to unmatched lock acquire/releases, and posted a patch combining th=
at
> with the fix for the previous deadlock at:
>
> http://cygwin.com/ml/cygwin-patches/2009-q2/msg00068.html
>
> =A0(As before, I could send you a DLL with the fix compiled in off-list f=
or
> testing if you like.)
>
> =A0 =A0cheers,
> =A0 =A0 =A0DaveK
>
> --
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
>
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019