Mercurial > emacs
comparison src/process.c @ 39406:9dd4ad9bc53e
(sigchld_handler) [LINUX]: Don't return from
the signal handler at the end of the loop.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Mon, 24 Sep 2001 09:18:19 +0000 |
| parents | 2d3bee6a3848 |
| children | 9de129194439 |
comparison
equal
deleted
inserted
replaced
| 39405:4cccbf391c10 | 39406:9dd4ad9bc53e |
|---|---|
| 4268 /* On some systems, we must return right away. | 4268 /* On some systems, we must return right away. |
| 4269 If any more processes want to signal us, we will | 4269 If any more processes want to signal us, we will |
| 4270 get another signal. | 4270 get another signal. |
| 4271 Otherwise (on systems that have WNOHANG), loop around | 4271 Otherwise (on systems that have WNOHANG), loop around |
| 4272 to use up all the processes that have something to tell us. */ | 4272 to use up all the processes that have something to tell us. */ |
| 4273 #if defined (USG) && ! (defined (HPUX) && defined (WNOHANG)) || defined (WINDOWSNT) | 4273 #if (defined WINDOWSNT \ |
| 4274 || (defined USG && !defined LINUX \ | |
| 4275 && !(defined HPUX && defined WNOHANG))) | |
| 4274 #if defined (USG) && ! defined (POSIX_SIGNALS) | 4276 #if defined (USG) && ! defined (POSIX_SIGNALS) |
| 4275 signal (signo, sigchld_handler); | 4277 signal (signo, sigchld_handler); |
| 4276 #endif | 4278 #endif |
| 4277 errno = old_errno; | 4279 errno = old_errno; |
| 4278 return; | 4280 return; |
