From xemacs-m  Tue Mar 18 21:02:25 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA18273
	for <xemacs-beta@xemacs.org>; Tue, 18 Mar 1997 21:02:15 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id TAA00019;
	Tue, 18 Mar 1997 19:13:58 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: 20.1b8 success on Solaris -- but it's *SLOW*
References: <199703190222.SAA10998@sandman>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Dan Rich's message of Tue, 18 Mar 1997 18:22:31 -0800
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: multipart/mixed;
 boundary="Multipart_Tue_Mar_18_19:13:57_1997-1"
Content-Transfer-Encoding: 7bit
Date: 18 Mar 1997 19:13:57 -0800
Message-ID: <m2k9n4po96.fsf@altair.xemacs.org>
Lines: 53
X-Mailer: Gnus v5.4.30/XEmacs 20.1(beta9)

--Multipart_Tue_Mar_18_19:13:57_1997-1
Content-Type: text/plain; charset=US-ASCII

Does this patch help?  No one has commented on it so I haven't applied
it.


--Multipart_Tue_Mar_18_19:13:57_1997-1
Content-Type: text/plain; charset=US-ASCII

From: Rajappa Iyer <rsi@lucent.com>
Subject: 19.15-b98 partial solution for SunOS slowness
Date: Fri, 14 Mar 1997 12:49:49 -0500

The following patch improves the performance of XEmacs on SunOS 4.1.4
quite a bit. It just cuts out calls to any signal related functions if
SIGCHLD did not occur. So far, after one day of heavy
edit-compile-debug, I have not observed any ill effects. I have not
tested it on any other platform.

Regards,
Rajappa

--- process.c.orig	Fri Mar 14 12:43:36 1997
+++ process.c	Fri Mar 14 12:44:03 1997
@@ -2152,6 +2152,8 @@
   int i;
   struct Lisp_Process *p;
 
+  if (exited_processes_index <= 0)
+      return;
   EMACS_BLOCK_SIGNAL (SIGCHLD);
   for (i = 0; i < exited_processes_index; i++)
     {
@@ -2232,6 +2234,8 @@
 static void
 record_exited_processes (int block_sigchld)
 {
+  if (!sigchld_happened)
+      return;
   if (block_sigchld)
     EMACS_BLOCK_SIGNAL (SIGCHLD);
 
--
Rajappa Iyer <rsi@lucent.com>		#include <std_disclaimer.h>
	They also surf who only stand on the waves.


-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

--Multipart_Tue_Mar_18_19:13:57_1997-1--

