From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24413 invoked by alias); 11 Dec 2018 14:57:35 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 24392 invoked by uid 89); 11 Dec 2018 14:57:34 -0000 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 Received: from mail-pl1-f180.google.com (HELO mail-pl1-f180.google.com) (209.85.214.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Dec 2018 14:57:32 +0000 Received: by mail-pl1-f180.google.com with SMTP id z23so7049571plo.0 for ; Tue, 11 Dec 2018 06:57:32 -0800 (PST) MIME-Version: 1.0 References: <567DB7AB.5060606@cornell.edu> <20160108205008.GM20447@calimero.vinschen.de> In-Reply-To: From: Dan Kegel Date: Tue, 11 Dec 2018 14:57:00 -0000 Message-ID: Subject: Re: Problem with named pipes To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg00100.txt.bz2 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