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: List-Subscribe: List-Archive: List-Post: List-Help: , 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> In-Reply-To: From: Dan Kegel Date: Tue, 11 Dec 2018 06:57:19 -0800 Message-ID: Subject: Re: Problem with named pipes To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On Tue, Dec 11, 2018 at 6:42 AM Ken Brown 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