bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48118: 27.1; 28; Only first process receives output with multiple ru


From: Eli Zaretskii
Subject: bug#48118: 27.1; 28; Only first process receives output with multiple running processes
Date: Fri, 04 Jun 2021 17:00:54 +0300

> From: Philipp <p.stephani2@gmail.com>
> Date: Fri, 4 Jun 2021 15:34:53 +0200
> Cc: Daniel Mendler <mail@daniel-mendler.de>, 48118@debbugs.gnu.org
> 
> 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).

We could have such a behavior as an option.  But we'd need to make
sure the random numbers coming out of that are really random and give
each handle the same chance, even for short time durations.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]