delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/11/22:39:49

X-Spam-Check-By: sourceware.org
Message-ID: <448CD3E8.7070208@cygwin.com>
Date: Sun, 11 Jun 2006 22:39:36 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060112 Fedora/1.5-1.fc4.remi Thunderbird/1.5 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin1.dll 1.5.19: race condition & deadlock with fifos
References: <opdp821fkb16b0qj1b49h42ibrtjklkh8g AT 4ax DOT com> <448CC20A DOT 3F8C04A5 AT dessent DOT net> <7ehp8297uidfoahijrfnugi6rvukrt9g5f AT 4ax DOT com>
In-Reply-To: <7ehp8297uidfoahijrfnugi6rvukrt9g5f@4ax.com>
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

Barry Kelly wrote:
> On Sun, 11 Jun 2006 18:23:22 -0700, you wrote:
> 
>> Barry Kelly wrote:
>>
>>> This code, without a delay, causes a deadlock and both active spawned
>>> bash processes (the forked one reading from the fifo and the
>>> backgrounded one) need to be killed explicitly:
>>>
>>> ---8<---
>>> ~/test-fifo$ rm fifo
>>> ~/test-fifo$ mkfifo fifo
>>> ~/test-fifo$ ((echo foo >fifo)&); echo Read: $(<fifo)
>>> --->8---
>> This works fine for me, no hang -- but I use a recent CVS build.  Have
>> you tried the latest shapshot?
> 
> I have just tried:
> 
>         DLL version: 1.5.20
> ...
>         Build date: Sun Jun 4 16:35:33 EDT 2006
>         Snapshot date: 20060604-16:33:54
> 
> And I find it has fixed the problem. Thanks!
> 
> Is there any indication as to how long before 1.5.20 will be fully
> released? I don't want to risk running under a CVS snapshot except for
> this test.
> 

If you check the email archives, you will see a number of calls for testing
of the snapshots in preparation for 1.5.20.  From that you can surmise that
any recent snapshot is likely to be pretty close to the eventual released
version.  Keep an eye out here for more details.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

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