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: Fri, 16 Mar 2007 10:34:40 +0100 Message-ID: References: <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 1174037700 25458 80.91.229.12 (16 Mar 2007 09:35:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Mar 2007 09:35:00 +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 Fri Mar 16 10:34:54 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 1HS8pp-000403-67 for ged-emacs-devel@m.gmane.org; Fri, 16 Mar 2007 10:34:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HS8qu-00058v-PS for ged-emacs-devel@m.gmane.org; Fri, 16 Mar 2007 04:36:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HS8q9-0004jx-0c for emacs-devel@gnu.org; Fri, 16 Mar 2007 05:35:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HS8q7-0004jR-Po for emacs-devel@gnu.org; Fri, 16 Mar 2007 05:35:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HS8q7-0004jM-KL for emacs-devel@gnu.org; Fri, 16 Mar 2007 04:35:11 -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 1HS8ox-0001E2-7T; Fri, 16 Mar 2007 05:33:59 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepb.post.tele.dk (Postfix) with SMTP id 01F93A50070; Fri, 16 Mar 2007 10:33:44 +0100 (CET) In-Reply-To: (Andreas Schwab's message of "Wed\, 14 Mar 2007 17\:34\:30 +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:67996 Archived-At: Andreas Schwab writes: > storm@cua.dk (Kim F. Storm) writes: > >> 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). > > The snippet exactly matches the intented behaviour. Traced processes are > only reported when !WUNTRACED. So it is "intended behaviour" vs. "documented behaviour". The man pages talks about "stopped processes" -- it doesn't mention (un)traced processes at all. -- Kim F. Storm http://www.cua.dk