delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/09/18:35:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 9 Jun 2005 18:35:33 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Multi Threaded programs deadlock doing simple I/O operations
Message-ID: <20050609223533.GA9899@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <00af01c56c8c$54974c30$1f3ca8c0 AT AlohaSunset DOT com>
Mime-Version: 1.0
In-Reply-To: <00af01c56c8c$54974c30$1f3ca8c0@AlohaSunset.com>
User-Agent: Mutt/1.5.8i

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.

cgf

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