From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2104.outbound.protection.outlook.com [40.107.243.104]) by sourceware.org (Postfix) with ESMTPS id 14B74385E006 for ; Thu, 26 Mar 2020 14:06:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 14B74385E006 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nTsi0Fh0WVF6pLK6BsS9xsmm7JR8p7xZs7xQRWf8M07Xx1NLMkT5EBckm7k2FNaj5vPumCab5Nfw6mWXh1NluuMTSOVQIF4KpNLjUQrLVxlfCkEJEW792BWNi3RgDXJcTLR4/AEzH/5sEJAeC8nqC8jlBsF1l9yRnatXYz3heeE/+iN0CzLhCkMILwpQ9t0qr1BMGFCC8AvsyquMeca+ts7LE4OJOFUdmt5IzNOC75xex/d34OjncnAzHBgRQ3IGJFK+BNOTuh6SGwfD/rAtsmv/0o/0AEFcuvtYdlRVVqaG88MAojp82aouzoJyIDg2cPImH7b8LcjblDXyunDZkQ== 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=ecwCubE4tSqb0MXLDwniDvS2eWmhSTNMVKIB3XflGjI=; b=bA0n0a/uhc4I+oRdFuQ8zamuqfkAWVcDhV1WU94+AKwQYKux6juvShGlhIfNuveFVmFgwtTTbu0BicFYmyCZEV5z6fa7los3Ic2le2eVEmqgKFxUZTL3KmPxzgdmx4KVblVH2zmPwfe7cuDszCYLh0ZC0jrP4Iq6XI7RjSBk6ZLgCg2rSBalpua5pJGiRDf3u2oQj1Kl/xj8o8v/8zjXsViCxRLYm8+kFkiXGTF7WmZsK7iyUPZ1/TzIohO7nEjrqf/7suuvZxSRC7m1Q4UduBmdkEbG1wmKhOgDZwIEnI3uCO7aNpgG7kZdyOnu6PL/J/7mCwSE/JSb3/UUD7sCbQ== 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 DM6PR04MB6495.namprd04.prod.outlook.com (2603:10b6:5:20e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.22; Thu, 26 Mar 2020 14:06: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 14:06:34 +0000 Subject: Re: Sv: Named pipes and multiple writers To: sten.kristian.ivarsson@gmail.com References: <1b1401d60296$2769e690$763db3b0$@gmail.com> <716e2076-f607-454e-2723-937c3959e2a3@cornell.edu> <18be01d602ab$0bbfca30$233f5e90$@gmail.com> Cc: cygwin From: Ken Brown Message-ID: <35b43b59-6410-f21f-710c-385e39cbae0b@cornell.edu> Date: Thu, 26 Mar 2020 10:06:16 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 In-Reply-To: <18be01d602ab$0bbfca30$233f5e90$@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: CH2PR02CA0018.namprd02.prod.outlook.com (2603:10b6:610:4e::28) 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:252e:d851:f916:1a08] (2604:6000:b407:7f00:252e:d851:f916:1a08) by CH2PR02CA0018.namprd02.prod.outlook.com (2603:10b6:610:4e::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.20 via Frontend Transport; Thu, 26 Mar 2020 14:06:33 +0000 X-Originating-IP: [2604:6000:b407:7f00:252e:d851:f916:1a08] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 58e6069b-7dce-41f2-acf7-08d7d18ee41b X-MS-TrafficTypeDiagnostic: DM6PR04MB6495: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-Forefront-PRVS: 0354B4BED2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4636009)(346002)(396003)(376002)(39860400002)(366004)(136003)(6666004)(75432002)(186003)(16526019)(66556008)(66946007)(5660300002)(6486002)(66476007)(6916009)(478600001)(8676002)(316002)(81156014)(31686004)(786003)(4326008)(2616005)(36756003)(81166006)(2906002)(8936002)(31696002)(86362001)(52116002)(53546011); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR04MB6495; 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: LjLBMlODlL3jqUa4RTzpNue/abADjff2DVbROTo+wVGWiyyb2bRnrpZx+ypG9i2JWD35r/Ao2fGUHp++8tN34yIUA/jD2vzxJFelWmW1lJj3JHdX+3TbIh7TBzrWvo+KVg5Kw4vcs8/R2kSVBOVnr5GoVndhZ9qXvqBhOn1zNtzBZUHDbtv+SST17Qeh0trjPLllNuwFA+l0M3B3SE3nJfndtBVItQqHApw20pZs1JXORWJJwIgAJTbSxcs/UXS+2sjqpZGVfME2iZyvQcXyNgvwZMeks4SBiexNM7/a41CCGXmGsGJLSU3ZXq0ElL2Omx4BFncyAGBMkndnAgsDPCjk3tzOJ8rx2IFq5ZOummh67mslH3Nb9DZSu1Y+Gq0QA/Bw1av87/N0TDXIE0/Tu4bywhXrR2DKF7y8+/7SvuxktTW5FgznFmxPkHCAhoy8 X-MS-Exchange-AntiSpam-MessageData: UQdfq46n+rR+KERD0reJTyI6XiFRwmXsYPEStDABTWziAOlw8uRfXQtNsf7UijJDNl7xnwchDTaBazNvD3VbLGIrA9Wy4LwO1i8GFXk29hclyul9qYzBdIQe3AYvUrUvodi3BaicbVX75gYxu8+KGlgmrmMML6J6PWxy1NbUIq2FUEXTEWExpBamC7iUVs5QX9sCBDGQ6GTf8WaTQDeXhA== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 58e6069b-7dce-41f2-acf7-08d7d18ee41b X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2020 14:06:34.0293 (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: qNqzqfIQDrH04+elyT8KYjkV20JWReIUg7wUFRXCByER/HZpxQf2cvstsFS5vfo3VcJL9gT0ReN2XUOdZhKQ5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB6495 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP 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 14:06:41 -0000 [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. Ken