mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-11 16:08:13 +00:00
(sigchld_handler): Delay by 1ms instead of 1s to
alleviate sluggishness (the original problem is still fixed).
This commit is contained in:
parent
3e32375010
commit
8f0e1e444f
@ -1,3 +1,8 @@
|
||||
2007-03-26 Sam Steingold <sds@gnu.org>
|
||||
|
||||
* process.c (sigchld_handler): Delay by 1ms instead of 1s to
|
||||
alleviate sluggishness (the original problem is still fixed).
|
||||
|
||||
2007-03-25 Kim F. Storm <storm@cua.dk>
|
||||
|
||||
* intervals.c (merge_properties): Use explicit loop instead of
|
||||
|
@ -6507,7 +6507,7 @@ sigchld_handler (signo)
|
||||
loadavg to 5-8(!) for ~10 seconds.
|
||||
See http://thread.gmane.org/gmane.emacs.devel/67722 or
|
||||
http://www.google.com/search?q=busyloop+in+sigchld_handler */
|
||||
sleep (1);
|
||||
usleep (1000);
|
||||
errno = 0;
|
||||
pid = wait3 (&w, WNOHANG | WUNTRACED, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user