aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.h
diff options
context:
space:
mode:
authorPaul Eggert2013-06-22 12:01:47 -0700
committerPaul Eggert2013-06-22 12:01:47 -0700
commit0dfeed58d3244487a545bb4d4e19658eb299937b (patch)
tree8d63fe126e9983af886f1a8e3d4bbd5f38282633 /src/process.h
parentf86852b4a3c34213f93fc5de5cb1632b49962023 (diff)
downloademacs-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.h2
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);
217extern void delete_read_fd (int fd); 217extern void delete_read_fd (int fd);
218extern void add_write_fd (int fd, fd_callback func, void *data); 218extern void add_write_fd (int fd, fd_callback func, void *data);
219extern void delete_write_fd (int fd); 219extern void delete_write_fd (int fd);
220#ifdef NS_IMPL_GNUSTEP
221extern void catch_child_signal (void); 220extern void catch_child_signal (void);
222#endif
223 221
224INLINE_HEADER_END 222INLINE_HEADER_END