Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <000f01c56d59$7d976d40$1f3ca8c0@AlohaSunset.com>
From: "Mark Pizzolato" <list-cygwin@subscriptions.pizzolato.net>
To: <cygwin@cygwin.com>
References: <20050609223533.GA9899@trixie.casa.cgf.cx>
Subject: Re: Multi Threaded programs deadlock doing simple I/O operations
Date: Thu, 9 Jun 2005 18:12:33 -0700
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";               reply-type=original
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On Thursday, June 09, 2005 at 3:35 PM, Christopher Faylor wrote:
> On Wed, Jun 08, 2005 at 05:43:59PM -0700, Mark Pizzolato wrote:
> >There is a serious problem for multi threaded programs doing simple I/O
> >operations in cygwin (open, dup, fdopen, fclose, and close).
> >
> >The attached 81 line test program clearly demonstrates the issue (by
> >hanging and no longer consuming CPU or performing any I/O operations).
>
> Thanks for the relatively small test case.  That was enough to track the
> problem down.  I'm generating a new snapshot with a fix for this
> problem.

The snapshot looks good!

This fixes the stability problems with clamav's clamd that I've been chasing 
for a long time.

Thanks.

- Mark Pizzolato 


--
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/

