delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/12/11/09:57:45

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=oPIH9Wd
Rs3/c6tVJYIGFVq5a6th44qNbc3aZmveFXjMnoTUwYvTLnQYzhojvmKQp2xT6gCi
HaTq6SsVag3iFYvKdPXcdUZf2O5YuiSNuOVc7VlRUU0kP/DwwrZ98wjzVna0YRY7
W//7uvabyO3rVjUytol9dQokoWI6fK/2nZac=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; s=default; bh=pZexMxb2JjpXe
N5IGJ0HGtGZ4ew=; b=fGCRI9RMkfVpsT3ezavJcNtzGwEG/nzuodGyALBGAe7g/
4j9ul280F600bteAXdWoXIxU01sAqfhoe/ScgpHHoygvJ89kS3PGRhMB3KQyAwME
/DXfyaUIR1KJAw/4dXaFDMRlJ1IAxLT0GSOXCdcklC3odUwFGVty+f7HyAm+IA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=cygwins, cygwin's, Dan, customized
X-HELO: mail-pl1-f180.google.com
MIME-Version: 1.0
References: <567DB7AB DOT 5060606 AT cornell DOT edu> <20160108205008 DOT GM20447 AT calimero DOT vinschen DOT de> <d5ff7ebb-6fc2-5ce6-e38b-6e6c9113d102 AT cornell DOT edu>
In-Reply-To: <d5ff7ebb-6fc2-5ce6-e38b-6e6c9113d102@cornell.edu>
From: Dan Kegel <dank AT kegel DOT com>
Date: Tue, 11 Dec 2018 06:57:19 -0800
Message-ID: <CAPF-yOaQx5ZTDHnVecyEOCtZp4sR9n3VgFU8Y0HTnrGKqfRz0g@mail.gmail.com>
Subject: Re: Problem with named pipes
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Tue, Dec 11, 2018 at 6:42 AM Ken Brown <kbrown AT cornell DOT edu> wrote:
> > Very tricky problem.  The FIFO code falls over its own feet trying to
> > handle more than one writer (exec 7> is the first, echo blah is the
> > second writer).  Sigh.  This code needs a thorough rewrite...
>
> I'm coming back to this thread after three years.  I'd be willing to put in some
> time working on this, if you could point me in the right direction.

I'm no cygwin developer, but:
It might be worth spending a little quality time with
https://cygwin.com/git/gitweb.cgi?p=newlib-cygwin.git;a=tree;f=winsup/testsuite/winsup.api/ltp
to update it to handle the case you're interested in first...?
https://github.com/linux-test-project/ltp has come a long, long ways
since cygwin's copy was made.  It might be interesting to just
try building and running LTP on cygwin and see how far it is from
working at all... I would not be surprised if cygwin's copy is highly customized
to avoid spikes.
- Dan

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

- Raw text -


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