X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 993DA385E016 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1585241074; bh=UOx8iiTuCTPZDBXRS0Ovfu1zygQd1SUVIRvHj9fMBUc=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=KsvsAXgt6Ke61H9GEfF/xcFSXeZOvrrfjAsLZlmTQKiARxhlDv7HEthp6vnn1IMwj l75/XX7wokKU9+YzYbSztIsWGroN3QNtjGwK01p//2RhCyDT3DSn8dE0X5xGu+iK/h 3VgGLT6IHF8dY5hqTH3qdFTJNlTpRV4YVJmyzIus= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0470F385E00D ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=STKxtEOwyhaBQ0bnlIqat+zgafdFaWiQ80WCVY3ZDe0qk6OHyn+03NFy+1FGRXNaoOwfKU0nOWzkJxOYMDn2d5KmxJxtIskE+l63LpnCuFwo7Ry0i23TRXZ9HVxo6QP6Mo5JDmhCJ1tdTF/20WTCaha9cNADEhExT07CPPPvmoZnSyo6YiP9KzECyAUPG5Uf9OXJRngVutlpiw4NXpRfWLZo1Gx/o+GWKm66UnGD4TbX52UiOCYJX08UvIDcuEECeuJi3JA4hqhDjiO4oUIV6kt/Is7xUuSQRZ20eclawW89edHbDrAnSVxtgIMeY7JsXiivuUfPGBZ58Dr942cUEA== 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=mYyzMC04Xgduij0sYDKrZre+iDSSejFXfKFfMrvAF4g=; b=VFoODlEfoJgCzigLU/jwVz2PPPZ4ryhTN00+d4wOes0TJnCDAEO0fD9NBRTMrBdqkGP4AdvLa88l1Gfv/iqDrRwsnxII4Qm/32xcacYXJVHz1jTWcGJ8k3l6DlgUWodSqBTAfGlLa+AEZrdjhmuMwE1zxdIjk0XTR5pSRNMBq6N8br96a/Qixo9EJIl7c37nrVmhKI/mZ6PBSbl+JZsfRcEze2C0InxnMaMmPVkky8XduLiWh0cXTtV3z8RoLZiEvCEcqSdhp5O5Dnt+S8A3DUyScOrhON78kkUZBHgRWKgHrAoyh7XXLwULSR7mubRXqmrbAGiTcohh3yZFignk+w== 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 Subject: Re: Sv: Named pipes and multiple writers To: cygwin 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> <18b661e1-e8f5-bcc6-0211-e39c383c1580 AT cornell DOT edu> <73d9c583-acf7-08bb-c034-e30b29898ca0 AT huarp DOT harvard DOT edu> Message-ID: <5a308064-405a-a231-dee4-56d10d7cd7c9@cornell.edu> Date: Thu, 26 Mar 2020 12:44:30 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 In-Reply-To: <73d9c583-acf7-08bb-c034-e30b29898ca0@huarp.harvard.edu> Content-Language: en-US X-ClientProxiedBy: CH2PR14CA0008.namprd14.prod.outlook.com (2603:10b6:610:60::18) 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:7565:20cd:3764:c30b] (2604:6000:b407:7f00:7565:20cd:3764:c30b) by CH2PR14CA0008.namprd14.prod.outlook.com (2603:10b6:610:60::18) 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 16:44:30 +0000 X-Originating-IP: [2604:6000:b407:7f00:7565:20cd:3764:c30b] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b965ddfc-34f5-4e31-782c-08d7d1a4f4fa X-MS-TrafficTypeDiagnostic: DM6PR04MB6347: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-Forefront-PRVS: 0354B4BED2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4636009)(346002)(376002)(39860400002)(136003)(396003)(366004)(75432002)(316002)(478600001)(81156014)(8676002)(186003)(81166006)(786003)(8936002)(2906002)(52116002)(16526019)(6916009)(66476007)(66946007)(66556008)(966005)(5660300002)(86362001)(36756003)(6486002)(31686004)(2616005)(31696002)(53546011); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR04MB6347; 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: OwgyB2LNhfiTUXxckyMEyMjdWRL5DTtLP75vRBTm482z41CX/8jgUZSKmcAliW1yxDE2Q5K32yORB7icmtg5jQsE3vJfFi9dYC9oqbl7XuML+2Padn9dvESfczbcwXmsmbMyE2AbvlVktQWo0Qr3nrbNj14MQW8r7119cOC0ci02qmFHcSMWcTI9auYfsN0yiuOgQC//93wbFBpDJSsTwQEhjAHscLE2xX2kmJKGyh72kwbw9e5dSAQs9XGpMaN3fPb17DM/OrkMmhRMQRU06BFQhwtwn2VtaGW0Zwb5Gc6bjmB2qoYb18G+5KbGL6r61HG8G7LGMa6Hgcg0v3J0RTKaVi2N03Ld1U6ysi9TR1Qx6JkYtQkDIwh+O73gosa4GEOa5+WLxK8QRyswemofIumpmiTCA5Suo3IYk23uiobHb36PYEg4sNIaZ9/yW+xPAbGSXGEInc44p8C93Af4jBVfV3j8b3cJd9MEGrln+DiGskjJaFPLgaGHD84V8QJTliQfnuPaAwlNlmgOmYMpPw== X-MS-Exchange-AntiSpam-MessageData: cucNxBv8+NSqiYOzlYUkMdCmi9RyhtmLrTAxbzkv/H33UGDRQ7Ukm2bKE7nKGKU1OHxzhAuUvaG4yJ2dihkr9yZE1YjhdpSW4TY+9Ywh/p3wy+58aozpCw351tx/moUuVperuuPSEarGAxb/dFMgrMWgxRcjLYxcoW6PcKXgHiKC35mKSAdD9HG+Njd2ANacZ0Rd3i4sHUSPwzVk403vMQ== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: b965ddfc-34f5-4e31-782c-08d7d1a4f4fa X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2020 16:44:31.2710 (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: s79rpeQkBAxGagwsPikJdbKgGfkv4ckV7zuAOayxYYYXvEAvc6jBat99+Mmacu/czR2PR4Bj65FAW1Uv/qHMug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB6347 X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, DKIM_INVALID, DKIM_SIGNED, KAM_DMARC_STATUS, 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 AT cygwin DOT 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: , From: Ken Brown via Cygwin Reply-To: Ken Brown Content-Type: text/plain; charset="windows-1252"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 02QGiwTu010106 On 3/26/2020 12:03 PM, Norton Allen wrote: > On 3/26/2020 11:11 AM, Ken Brown via Cygwin wrote: >> >> 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, what are the semantics for multiple readers? Do all readers see the same > data,  or is it first come first served or something else? It's first come, first served. If two readers attempt to read simultaneously, it's possible that one will get some of the available input and the other will get some more. The only use case for multiple readers that I've come across of is Midnight Commander running under tcsh. I didn't dig into the code enough to know why they do it, or why only under tcsh. See https://sourceware.org/pipermail/cygwin/2019-December/243317.html and https://cygwin.com/pipermail/cygwin-apps/2019-December/039777.html That's what got me interested in this. It would be nice to know if there are other use cases. 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