From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: busyloop in sigchld_handler Date: Wed, 14 Mar 2007 16:02:27 +0100 Message-ID: References: <45F59395.4010708@gnu.org> <45F5A2B4.7090301@gnu.org> <85ejnumf1o.fsf@lola.goethe.zz> <868xe11tzu.fsf@lola.quinscape.zz> <85abyglrbs.fsf@lola.goethe.zz> <85tzwokb4x.fsf@lola.goethe.zz> <86tzwoxq1q.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173884509 17394 80.91.229.12 (14 Mar 2007 15:01:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2007 15:01:49 +0000 (UTC) Cc: Sam Steingold , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 14 16:01:41 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HRUyx-0000jG-Ig for ged-emacs-devel@m.gmane.org; Wed, 14 Mar 2007 16:01:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRUzq-0004Bb-Ue for ged-emacs-devel@m.gmane.org; Wed, 14 Mar 2007 10:02:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HRUzn-0004BL-Pl for emacs-devel@gnu.org; Wed, 14 Mar 2007 11:02:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HRUzn-0004B1-0S for emacs-devel@gnu.org; Wed, 14 Mar 2007 11:02:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRUzm-0004Ay-Qd for emacs-devel@gnu.org; Wed, 14 Mar 2007 10:02:30 -0500 Original-Received: from pfepb.post.tele.dk ([195.41.46.236]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HRUyp-0004BV-7Z; Wed, 14 Mar 2007 11:01:31 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepb.post.tele.dk (Postfix) with SMTP id 99394A50065; Wed, 14 Mar 2007 16:01:28 +0100 (CET) In-Reply-To: (Andreas Schwab's message of "Wed\, 14 Mar 2007 15\:12\:44 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67936 Archived-At: Andreas Schwab writes: > storm@cua.dk (Kim F. Storm) writes: > >> But the WUNTRACED flag doesn't mean we don't get info about >> stopped processes, > > WUNTRACED > The status of any child processes specified by pid that are stopped, > and whose status has not yet been reported since they stopped, shall > also be reported to the requesting process. That's what the doc says, but that's not what the 2.4 Linux kernel code seems to be doing (I included the relevant snippet of sys_wait4 in my previous message). -- Kim F. Storm http://www.cua.dk