delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/26/18:02:52

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AEE9B385E00B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1585260123;
bh=gFrWQXFZASW8vmoaq/D3VpPGShF+p/xlmYTpyYxn88w=;
h=To:References:In-Reply-To:Subject:Date:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=seM9YCFbgk94Ss71ZMKJgZgjnFiZbORMCKVwZdImLfoGje/SzDCxevZsyuX9rwLmK
yY/SXjiN7W6xd/OZu5FbkIntEUa7aHUCl4zoEc7P9GLlKojsGjq0IDgYfCi/ArJCRJ
Isa0Q3uYFM5nf6hLHXK09fC53CUA6ui5HVQpHYNg=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BB4C7385E009
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date
:message-id:mime-version:content-transfer-encoding:thread-index
:content-language;
bh=8DJHw7cUj5rAj03lkKyjysm7SsLOy0PBGGXeV4iIPHo=;
b=LhDLLtbsjlUM8gGYBsnVD7SMf/TE1RIjOxkUiFpdgKbM4RwQymM+gi47Qsu/lRmSYl
z6tEpKK6P2S7KpPpGgDaS2reezIZ8onu9Poj+MsSjOcUlC6dGvqa3dycfiRnGxnKezFe
npTw8QrZDnyeyZ5829sm5rAk2deyuC9rrrXyjC4wSVajAhEkJh2jEIu5JNWOuTOipX1S
p2aHJqpo31P5/UPPo97RhsvOr2dIyEvjkR6Szfc7x1jLtsfeVnj5+5BECt1oMCagnyyR
DLT42PnrJo2i+Ww8LbUNSNRqttsu3g57KGUNF3qBIISG9hyB5eAfkE+zz5w7E23Lk680
to8g==
X-Gm-Message-State: ANhLgQ1hQBculLs3hPkvvnIn4E50bL5utNWSOdEcr3PIHRGXZGkYHROQ
vaCSFrYhd+tGX8RJdQP94QAfA39K
X-Google-Smtp-Source: ADFU+vuFbcN8SRc/qEMQ22HytCKNWlKnGSD9Y/EdHaZkzLySwbXO09sjP3aEt8M151y7McymV/gXsA==
X-Received: by 2002:a19:7907:: with SMTP id u7mr7103084lfc.18.1585260119287;
Thu, 26 Mar 2020 15:01:59 -0700 (PDT)
To: "'Ken Brown'" <kbrown AT cornell DOT edu>
References: <1b1401d60296$2769e690$763db3b0$@gmail.com>
<716e2076-f607-454e-2723-937c3959e2a3 AT cornell DOT edu>
<18be01d602ab$0bbfca30$233f5e90$@gmail.com>
<35b43b59-6410-f21f-710c-385e39cbae0b AT cornell DOT edu>
In-Reply-To: <35b43b59-6410-f21f-710c-385e39cbae0b@cornell.edu>
Subject: Sv: Sv: Named pipes and multiple writers
Date: Thu, 26 Mar 2020 23:01:58 +0100
Message-ID: <005201d603ba$2bc8ab20$835a0160$@gmail.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQJE9fQg8TMZuJRGwTEKbo0ZGNgDeQHtMggPA01jw/MCH/KUAKdCsowA
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Kristian Ivarsson via Cygwin <cygwin AT cygwin DOT com>
Reply-To: sten DOT kristian DOT ivarsson AT gmail DOT com
Cc: "'cygwin'" <cygwin AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

>> [snip]
>>>> As far as I can see, reading through history, this have been a known 
>>>> issue for quite some time, but it seems like there have been some 
>>>> attempts to solve it, e.g. in the branch topic/fifo (by Ken Brown)
>> 
>> [snip]
>>>> Does anyone have any knowledge about if this (topic/fifo branch) is 
>>>> working and/or if it is somehow planned to make it into the master 
>>>> branch and end up in a future release ?
>> 
>>> That branch is obsolete.  Support for multiple writers was added to 
>>> Cygwin
>> as of release 3.1.0.
>> 
>> Ok, thanks, but we're running 3.1.4 (and tested 3.1.5) but do still 
>> have problems (experiencing ENXIO (No such device or address)) but 
>> actually (as far as we see) with the 3:rd writer ?
>> 
>> We need to investigate the issue more thoroughly and might get back 
>> when we have more knowledge

>Does the ENXIO come from fhandler_fifo::wait?  If so, it's quite possible
that there's a bug involving read_ready in my code.

Our application is a bit complex and I have now narrowed it down

The ENIXIO occurs when parallel child-processes simultaneously using
O_NONBLOCK opening the descriptor. We're sometimes opening it blocking and
sometimes non-blocking and it seems like when the 2:nd non-blocking process
tries to open it gets ENIXIO. The child process open and closes the
fifo-descriptor for writing multiple times. I could provide a code-snippet
to reproduce it if wanted ?

Tnx for showing interest btw

Kristian

>Ken

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

- Raw text -


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