From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2109.outbound.protection.outlook.com [40.107.244.109]) by sourceware.org (Postfix) with ESMTPS id 2ADF9385E006 for ; Thu, 26 Mar 2020 15:11:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2ADF9385E006 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nhsK5RNK7BbnkcerGTsVMrbgwMTIiL49mLdh7vz18iBwpVJxwmNtY+Wezm5KRl6f5ikFUtytzyzH+knxKHJMgjo+IKMdNEpIBjqUofeagmBO3LoSVo/xKtG67FTSEks/5Q+iGloK6OsWhM/RxH0tkWcV5Y5B40wJ+Ru30Z3ce3QRSX+EiVcjUFKSurjOI6EeP896G7rjyEv2NrlbT7u9ciucW+h1xxHJUkKc/fmCFDKt6V6njwgg6P/9VOvPAqTBzBEYM+xMdXDwE3eAq+LEM53VZHCt8Mh+lEJTvn76FkUTKXFAerPd05e0wIMlhoJ8XW7Ev57U+Efm388gqhIdcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pkYiOiXNb/A8Rd7o9mLVLSUG0XxK8ReHlmi/IrJwmcA=; b=f2/VFxMP1B1IdzT13KzkRk7zr/nHiu6HxMaLE4PBhVIoCgD0XAZoxBxPIUAhj2wf6uJqizc8AvN6UytNFBBzscgDsAOCQzcNbcb6jkcZ23cmpgSFwy5HPCgTL1ccZaS98UiZRet8qpW4zb4WqaMFPSTfOAVtYfHiPLhge6metCdKgh8qvz4iFBZ2jw63HUUlSqyqkYSPNe46sHkPDLPVmQ8DAkug7qWgD59piiSW6MgOHHWrRusPXW/YjoJ1Ca7DNGzK7yY3fsIfAQBquFNPQ9TRwXtlqpn0j1z9RopJsTFrgf7UZqLfzu8stK6YPBm/G1+7stUV3NbvInkoT6hDuQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none Received: from DM6PR04MB6075.namprd04.prod.outlook.com (2603:10b6:5:127::31) by DM6PR04MB6281.namprd04.prod.outlook.com (2603:10b6:5:1e8::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.18; Thu, 26 Mar 2020 15:11:34 +0000 Received: from DM6PR04MB6075.namprd04.prod.outlook.com ([fe80::e806:ecfb:c187:4e5a]) by DM6PR04MB6075.namprd04.prod.outlook.com ([fe80::e806:ecfb:c187:4e5a%4]) with mapi id 15.20.2856.018; Thu, 26 Mar 2020 15:11:34 +0000 Subject: Re: Sv: Named pipes and multiple writers To: cygwin@cygwin.com References: <1b1401d60296$2769e690$763db3b0$@gmail.com> <716e2076-f607-454e-2723-937c3959e2a3@cornell.edu> <18be01d602ab$0bbfca30$233f5e90$@gmail.com> <35b43b59-6410-f21f-710c-385e39cbae0b@cornell.edu> From: Ken Brown Message-ID: <18b661e1-e8f5-bcc6-0211-e39c383c1580@cornell.edu> Date: Thu, 26 Mar 2020 11:11:29 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 In-Reply-To: <35b43b59-6410-f21f-710c-385e39cbae0b@cornell.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: BL0PR0102CA0068.prod.exchangelabs.com (2603:10b6:208:25::45) To DM6PR04MB6075.namprd04.prod.outlook.com (2603:10b6:5:127::31) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [IPv6:2604:6000:b407:7f00:7d31:e60e:bb21:51b6] (2604:6000:b407:7f00:7d31:e60e:bb21:51b6) by BL0PR0102CA0068.prod.exchangelabs.com (2603:10b6:208:25::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19 via Frontend Transport; Thu, 26 Mar 2020 15:11:32 +0000 X-Originating-IP: [2604:6000:b407:7f00:7d31:e60e:bb21:51b6] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d13a9a2e-aed5-4b0f-30df-08d7d197f909 X-MS-TrafficTypeDiagnostic: DM6PR04MB6281: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-Forefront-PRVS: 0354B4BED2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4636009)(396003)(346002)(376002)(39860400002)(136003)(366004)(31686004)(81166006)(6916009)(8676002)(75432002)(6486002)(53546011)(6666004)(186003)(52116002)(2616005)(8936002)(36756003)(81156014)(16526019)(478600001)(2906002)(31696002)(5660300002)(786003)(316002)(86362001)(66476007)(66556008)(66946007); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR04MB6281; H:DM6PR04MB6075.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; Received-SPF: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 85ZYPsKhFMpUGnBk90PX1Yg3poTBSLOZaY3EjmoS62wR94L6eK9rlsQ/ESIwpdQFfe6+IWPsOkR/lpVpF0G3yAowCQsoofe4Kc+KGPT0h+9SvwPcBqHPaft9welONaA9r4BcGEhYCB5Vk2TcjUOlHWFmZTathSpUawu43GrvZUfi3Mc07Ibg29ttBXhD300wml0NvrDpzlgdsTfuGIqhF9rksS0LaFCJPZCQjPYgUwNWY4RinLMRAF9gnW4Wsr3Xn5fElchuiSmQ9Fw2WQVwqYY7KKWg2zDGvRtwmb+/NTgVNvCFYdVPARXY9fXgG3yg2VvtIUxj25E2HbGKqEvHnB0h7fkwZcAvg79jWvZvx/ZWGvrNPEmVSxO/LByhgj04Z/cLGWhkqztW3FG9nWJYEp+tkagcjSQSBhKsTTWgdQjTzOR+SeHVcegB8ZKBsdMk X-MS-Exchange-AntiSpam-MessageData: HG6Del032rbXSCxobJMKsNb+x79c7leHGZeR3Z3KkCcVzRVP7/buOLG+K19jEZcu3tI8/RdQkIviKhSHOaZicf+y/jjUN3UFqmifLk7CG2/3Qyu6vl7WPffXLmZ4QcQ85KnasMLbf+/n9vQAKx18exYWVwbN7Vh3I1GHGRjH08r0BKcZ8oM9+tv/5llPd0EE5baLkAHiu2vpuoH3yfn6lw== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: d13a9a2e-aed5-4b0f-30df-08d7d197f909 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2020 15:11:34.5929 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jfaVl69odSL6IMcWeJNI80Fyd881kIiwI2MGfuq1zSERwlwdTlBWNVCddn/ZpEWXrM6OW3Qok5H3ClMpis6Fkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB6281 X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00, DKIM_INVALID, DKIM_SIGNED, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=no 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2020 15:11:38 -0000 On 3/26/2020 10:06 AM, Ken Brown via Cygwin wrote: > [Let's keep the discussion on the list in case others have suggestions.] > > On 3/25/2020 9:41 AM, sten.kristian.ivarsson@gmail.com wrote: >> [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. BTW, I've been working on adding support for multiple readers. I expect to have a first cut ready within a week or two. Would you have any use for that? If so, I could revive the topic/fifo branch and push my patches there for you to test. Ken