diff options
| author | Paul Eggert | 2013-06-22 12:01:47 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-06-22 12:01:47 -0700 |
| commit | 0dfeed58d3244487a545bb4d4e19658eb299937b (patch) | |
| tree | 8d63fe126e9983af886f1a8e3d4bbd5f38282633 /src/process.h | |
| parent | f86852b4a3c34213f93fc5de5cb1632b49962023 (diff) | |
| download | emacs-0dfeed58d3244487a545bb4d4e19658eb299937b.tar.gz emacs-0dfeed58d3244487a545bb4d4e19658eb299937b.zip | |
Clean up SIGCHLD handling a bit.
* process.c, process.h (catch_child_signal):
Now always extern, even if !NS_IMPL_GNUSTEP.
* process.c (catch_child_signal): Move glib tickler here from
init_process_emacs, so that it's done earlier in Emacs
initialization. Also move the noninteractive && !initialized
check here from init_process_emacs. This is all a bit cleaner for
GNUish platforms, and I hope it works around the Cygwin bug.
* sysdep.c (init_signals): Invoke catch_child_signal here, so
that glib signal handling is tickled before glib creates threads.
Fixes: debbugs:14569
Diffstat (limited to 'src/process.h')
| -rw-r--r-- | src/process.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/process.h b/src/process.h index 0c4e17e68cf..9455df18beb 100644 --- a/src/process.h +++ b/src/process.h | |||
| @@ -217,8 +217,6 @@ extern void add_read_fd (int fd, fd_callback func, void *data); | |||
| 217 | extern void delete_read_fd (int fd); | 217 | extern void delete_read_fd (int fd); |
| 218 | extern void add_write_fd (int fd, fd_callback func, void *data); | 218 | extern void add_write_fd (int fd, fd_callback func, void *data); |
| 219 | extern void delete_write_fd (int fd); | 219 | extern void delete_write_fd (int fd); |
| 220 | #ifdef NS_IMPL_GNUSTEP | ||
| 221 | extern void catch_child_signal (void); | 220 | extern void catch_child_signal (void); |
| 222 | #endif | ||
| 223 | 221 | ||
| 224 | INLINE_HEADER_END | 222 | INLINE_HEADER_END |