From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Newsgroups: gmane.emacs.bugs Subject: bug#48118: 27.1; 28; Only first process receives output with multiple running processes Date: Fri, 4 Jun 2021 15:34:53 +0200 Message-ID: <550D5481-A071-47C4-94F5-2DF4E8E8BA10@gmail.com> References: <64c194f9-b984-adaa-d5fd-86aa3ed3833a@daniel-mendler.de> <83wnsjc0vd.fsf@gnu.org> <83tunnc0hz.fsf@gnu.org> <83pmybc03l.fsf@gnu.org> <83o8dvbyyz.fsf@gnu.org> <83bl9vbw8h.fsf@gnu.org> <70ea83e2-fc9e-6feb-240c-ed41abac5254@daniel-mendler.de> <87v981k39m.fsf@gnus.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6557"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Daniel Mendler , 48118@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 04 15:36:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lp9zd-0001Uq-Go for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Jun 2021 15:36:09 +0200 Original-Received: from localhost ([::1]:46354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lp9zc-0003AL-DH for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Jun 2021 09:36:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lp9zW-0003A3-9U for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 09:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lp9zW-0007PC-1P for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 09:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lp9zV-0001y9-Ts for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 09:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jun 2021 13:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 48118-submit@debbugs.gnu.org id=B48118.16228137107498 (code B ref 48118); Fri, 04 Jun 2021 13:36:01 +0000 Original-Received: (at 48118) by debbugs.gnu.org; 4 Jun 2021 13:35:10 +0000 Original-Received: from localhost ([127.0.0.1]:45843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lp9yc-0001wn-Fr for submit@debbugs.gnu.org; Fri, 04 Jun 2021 09:35:09 -0400 Original-Received: from mail-wr1-f54.google.com ([209.85.221.54]:33664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lp9yW-0001wA-KH for 48118@debbugs.gnu.org; Fri, 04 Jun 2021 09:35:05 -0400 Original-Received: by mail-wr1-f54.google.com with SMTP id a20so9401744wrc.0 for <48118@debbugs.gnu.org>; Fri, 04 Jun 2021 06:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Bc9Od9+sS9JZ2yLFYGBbA3r/YpKU2y6kUQC3ZEQwJiQ=; b=aWg3NkkSTkIMJCvisdlQ5dq3o1Rrx1dEObtAnCT6VZJdBannOC0h8rp2a5qt4/s+9D QH6kBPKxeO8+SfluFeCj6Sd7iuHwmNP+hcD8I8a5h/DmH8GDCRVDIiC9xbIHsCviidy0 PKi/IsD1+jvipriflW/rwFhqugOrcrKpg1tX+E3Ks/70HmXyBIUpI+5gr2gkUII02U4j UkSW+w0rqvkh2jbZwPkOeD9VZA0RDjYLSealY1FWSN6hDy5Rhy58e1dK2B+/+KE0mnhf kh9y96iv5OdsOvegX1uA+dDwZrij4xoroB+D58i8bEi4ZmiRRPLYV7etpw9iVUsyK5sk gdIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Bc9Od9+sS9JZ2yLFYGBbA3r/YpKU2y6kUQC3ZEQwJiQ=; b=GJ87/t3PzlHD/Nla3HqYNXr5KgrWSsU82/MZmJ1Ht0xfCuRAMwVVy55xYpcoeZHWHV mAs3v/aVilNbRV/O7wV6DZveJJaOHxCg08AlEUXNinEMN5miGTEYy52R64+oF1j/N/3q 51s9sKcaoj/fTuTwTVCJw3kh23wii7o0f/JqISDuLMOZBrF0ayh7uOvGFJJ5Rx+c0xPX 7U31T6alz6MuLG7anfdQvR09m+jX4kgc2kwvRewKG9bi2RS5fhiB24vCGE/g+yYwObGB JjHqHPF8DbaWHH1v+VaXq5RZiUUV4kE3Clbri1+Hu5lhiHR/2hZnGspgtHeLhdCpBEPN dnmA== X-Gm-Message-State: AOAM533iar8SDVBL6SZfEJuSSxQwOamvG0eVrvuTFfIhH2rSVlFpjETu MP65ZaXNY+8QKmrgU0sRU20= X-Google-Smtp-Source: ABdhPJyDBtQXtzJvm3JeQdu76VBPirlVEIE6fQTpXMDg0IRWJ+H3A2HSqkwHKioEc+Y0I/1fnMe7Uw== X-Received: by 2002:a5d:58d3:: with SMTP id o19mr4093978wrf.404.1622813694711; Fri, 04 Jun 2021 06:34:54 -0700 (PDT) Original-Received: from smtpclient.apple ([46.128.198.100]) by smtp.gmail.com with ESMTPSA id y6sm8902214wmy.23.2021.06.04.06.34.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Jun 2021 06:34:54 -0700 (PDT) In-Reply-To: <87v981k39m.fsf@gnus.org> X-Mailer: Apple Mail (2.3654.80.0.2.43) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208015 Archived-At: > Am 02.05.2021 um 09:23 schrieb Lars Ingebrigtsen : >=20 > Daniel Mendler writes: >=20 >> This is what we assumed. Emacs could check the second process the = next >> time. This way one may get a slightly more fair behavior. >=20 > Yes, more fairness in how Emacs handles process output would be nice, > indeed. An alternative approach would be to randomly shuffle the file = descriptors before selecting on them. At least that's what e.g. Go is = doing (see the code starting from "generate permuted order" in = https://golang.org/src/runtime/select.go).=