From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jakanakaevangeli@chiru.no Newsgroups: gmane.emacs.bugs Subject: bug#48118: 27.1; 28; Only first process receives output with multiple running processes Date: Fri, 30 Apr 2021 18:15:16 +0200 Message-ID: <87pmyb6963.fsf@miha-pc> References: <64c194f9-b984-adaa-d5fd-86aa3ed3833a@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7337"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48118@debbugs.gnu.org To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 30 18:19:15 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 1lcVrH-0001lk-1i for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Apr 2021 18:19:15 +0200 Original-Received: from localhost ([::1]:49688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcVrF-0002LA-MT for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Apr 2021 12:19:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcVjK-0006VS-QN for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2021 12:11:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48139) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcVjJ-0007wa-Vo for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2021 12:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcVjJ-0001BR-Qx for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2021 12:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: jakanakaevangeli@chiru.no Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Apr 2021 16:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48118 X-GNU-PR-Package: emacs Original-Received: via spool by 48118-submit@debbugs.gnu.org id=B48118.16197990184476 (code B ref 48118); Fri, 30 Apr 2021 16:11:01 +0000 Original-Received: (at 48118) by debbugs.gnu.org; 30 Apr 2021 16:10:18 +0000 Original-Received: from localhost ([127.0.0.1]:59677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcVic-0001A8-Bk for submit@debbugs.gnu.org; Fri, 30 Apr 2021 12:10:18 -0400 Original-Received: from chiru.no ([142.4.209.132]:51768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcVia-00019x-GN for 48118@debbugs.gnu.org; Fri, 30 Apr 2021 12:10:16 -0400 Original-Received: from localhost (BSN-77-156-43.static.siol.net [193.77.156.43]) by chiru.no (Postfix) with ESMTPSA id EF8EE128001B; Fri, 30 Apr 2021 16:10:14 +0000 (UTC) In-Reply-To: (message from Daniel Mendler on Fri, 30 Apr 2021 17:39:35 +0200) 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:205276 Archived-At: Excuse me if I'm mistaken, but doesn't pselect return all file descriptors that are ready for reading? Couldn't we then simply process all of them (in a for loop) after pselect returns?