From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: the state of the concurrency branch Date: Thu, 29 Aug 2013 18:10:02 +0300 Message-ID: <83y57kedo5.fsf@gnu.org> References: <87vc2t7erx.fsf@fleche.redhat.com> <83txicffpe.fsf@gnu.org> <87haeb3lwp.fsf@fleche.redhat.com> <83mwo3f762.fsf@gnu.org> <831u5dg4xz.fsf@gnu.org> <874na9talu.fsf@fleche.redhat.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1377789052 2798 80.91.229.3 (29 Aug 2013 15:10:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Aug 2013 15:10:52 +0000 (UTC) Cc: lekktu@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 29 17:10:54 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VF3s2-0003tD-Kq for ged-emacs-devel@m.gmane.org; Thu, 29 Aug 2013 17:10:50 +0200 Original-Received: from localhost ([::1]:44115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF3s2-0005gu-4G for ged-emacs-devel@m.gmane.org; Thu, 29 Aug 2013 11:10:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF3ru-0005g1-P7 for emacs-devel@gnu.org; Thu, 29 Aug 2013 11:10:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VF3rp-0006Zp-5M for emacs-devel@gnu.org; Thu, 29 Aug 2013 11:10:42 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:36195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF3ro-0006ZL-S1 for emacs-devel@gnu.org; Thu, 29 Aug 2013 11:10:37 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MSA00100S70TI00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Thu, 29 Aug 2013 18:10:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSA001ACSSOEFA0@a-mtaout20.012.net.il>; Thu, 29 Aug 2013 18:10:00 +0300 (IDT) In-reply-to: <874na9talu.fsf@fleche.redhat.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163086 Archived-At: > From: Tom Tromey > Cc: lekktu@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Wed, 28 Aug 2013 21:54:53 -0600 > > >> . Will the handling of SIGCHLD be thread-specific or global? IOW, if > >> a thread fires up a subprocess, which exits while another thread is > >> running, which thread(s) will get the signal? If the signal > >> arrives at some other thread, how will that thread know to handle > >> it, if it doesn't watch the corresponding fd's? > > Eli> Please answer this question, if you can: I need the answer to analyze > Eli> what, if any, changes are needed in how Emacs on Windows handles > Eli> process demise and emulates SIGCHLD. Currently, we watch all of the > Eli> subprocesses inside the 'pselect' call; the question is: should we > Eli> only watch those of them that are relevant to the thread that calls > Eli> 'pselect'. > > I have to look into it and I haven't found the time. > I will try to get to it soon. Thanks. It's actually no more urgent than the other decisions to be made before the concurrency branch is merged.