From xemacs-m  Wed Mar 19 11:31:00 1997
Received: from greatdane.webnexus.com (greatdane.webnexus.com [165.227.96.3])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA26849
	for <xemacs-beta@xemacs.org>; Wed, 19 Mar 1997 11:30:59 -0600 (CST)
Received: from apprentice.silicon-sorcery.com (apprentice.silicon-sorcery.com [205.179.145.161])
	by greatdane.webnexus.com (8.8.5/8.8.5/WN-1.2) with ESMTP id JAA20901;
	Wed, 19 Mar 1997 09:30:28 -0800 (PST)
Received: from mage.noname (mage [128.0.0.100]) by apprentice.silicon-sorcery.com (8.7.5/8.7.3) with SMTP id JAA21004; Wed, 19 Mar 1997 09:27:48 -0800 (PST)
From: mac@silicon-sorcery.com
Received: by mage.noname (4.1/SMI-4.1)
	id AA05041; Wed, 19 Mar 97 09:28:38 PST
Date: Wed, 19 Mar 97 09:28:38 PST
Message-Id: <9703191728.AA05041@mage.noname>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Steven L Baur <steve@miranova.com>
Cc: xemacs-beta@xemacs.org
Subject: Re: 20.1b8 success on Solaris -- but it's *SLOW*
In-Reply-To: <m24te8pjrs.fsf@altair.xemacs.org>
References: <199703190222.SAA10998@sandman>
	<m2k9n4po96.fsf@altair.xemacs.org>
	<QQchmn21909.199703190417@crystal.WonderWorks.COM>
	<m24te8pjrs.fsf@altair.xemacs.org>
Reply-To: mac@silicon-sorcery.com


	The line 

	 +  if (!sighld_happened)

	should be

	 +  if (!sigchld_happened)

Steven L Baur writes:
 > Kyle Jones writes:
 > 
 > > Steven L Baur writes:
 > >> Does this patch help?  No one has commented on it so I haven't applied
 > >> it.
 > 
 > > Both hunks failed on 20.1-b8 here.  It applied OK to 19.15-b100
 > > so I'm running it there now, mostly to see if it makes things
 > > blow up on BSD/OS.  It hasn't broken anything so far.
 > 
 > Due to the MS Windows NT patches.  Try this:
 > 
 > Index: src/process.c
 > ===================================================================
 > RCS file: /usr/local/xemacs/xemacs-20.0/src/process.c,v
 > retrieving revision 1.6
 > diff -u -r1.6 process.c
 > --- process.c	1997/03/08 23:27:53	1.6
 > +++ process.c	1997/03/19 04:49:14
 > @@ -2203,6 +2203,11 @@
 >    int i;
 >    struct Lisp_Process *p;
 >  
 > +  if (exited_processes_index <= 0)
 > +    {
 > +      return;
 > +    }
 > +
 >  #ifdef  EMACS_BLOCK_SIGNAL
 >    EMACS_BLOCK_SIGNAL (SIGCHLD);
 >  #endif
 > @@ -2285,6 +2290,11 @@
 >  static void
 >  record_exited_processes (int block_sigchld)
 >  {
 > +  if (!sighld_happened)
 > +    {
 > +      return;
 > +    }
 > +
 >  #ifdef EMACS_BLOCK_SIGNAL
 >    if (block_sigchld)
 >      EMACS_BLOCK_SIGNAL (SIGCHLD);
 > 
 > -- 
 > steve@miranova.com baur
 > Unsolicited commercial e-mail will be billed at $250/message.
 > 

