GNU bug report logs - #48118
27.1; 28; Only first process receives output with multiple running processes

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Fri, 30 Apr 2021 13:45:02 UTC

Severity: normal

Tags: fixed

Found in version 27.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #75 received at 48118 <at> debbugs.gnu.org (full text, mbox):

From: Philipp <p.stephani2 <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Daniel Mendler <mail <at> daniel-mendler.de>, 48118 <at> debbugs.gnu.org
Subject: Re: bug#48118: 27.1; 28; Only first process receives output with
 multiple running processes
Date: Fri, 4 Jun 2021 15:34:53 +0200

> Am 02.05.2021 um 09:23 schrieb Lars Ingebrigtsen <larsi <at> gnus.org>:
> 
> Daniel Mendler <mail <at> daniel-mendler.de> writes:
> 
>> This is what we assumed. Emacs could check the second process the next
>> time. This way one may get a slightly more fair behavior.
> 
> 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).



This bug report was last modified 3 years and 349 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.