aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2013-02-15 11:41:31 +0200
committerEli Zaretskii2013-02-15 11:41:31 +0200
commitef862e206a28f6618048c8b28413fa8f9c135c61 (patch)
tree268021369bcc27a23f840634815215bd6d0d6def /src/ChangeLog
parentbcf7fe2aeff7e3aacbfae08ca6001f7615a06709 (diff)
downloademacs-ef862e206a28f6618048c8b28413fa8f9c135c61.tar.gz
emacs-ef862e206a28f6618048c8b28413fa8f9c135c61.zip
Allow deleted processes to be reaped by SIGCHLD handler on MS-Windows.
src/w32proc.c (new_child): Free up to 2 slots of dead processes at a time. Improve diagnostics in DebPrint. (reader_thread): If cp->char_avail is NULL, set the FILE_AT_EOF flag, so that sys_select could have a chance of noticing that this process is dead, and call a SIGCHLD handler for it. Improve diagnostics in DebPrint. (reap_subprocess): Reset the FILE_AT_EOF flag set by reader_thread. (sys_select): Watch a process whose procinfo.hProcess is non-NULL even if its char_avail is NULL. Allows to reap subprocesses that were forcibly deleted by delete-process. (Bug#13546)
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 47a55535870..f4bee9f0905 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,17 @@
12013-02-15 Eli Zaretskii <eliz@gnu.org> 12013-02-15 Eli Zaretskii <eliz@gnu.org>
2 2
3 * w32proc.c (new_child): Free up to 2 slots of dead processes at a
4 time. Improve diagnostics in DebPrint.
5 (reader_thread): If cp->char_avail is NULL, set the FILE_AT_EOF
6 flag, so that sys_select could have a chance of noticing that this
7 process is dead, and call a SIGCHLD handler for it. Improve
8 diagnostics in DebPrint.
9 (reap_subprocess): Reset the FILE_AT_EOF flag set by
10 reader_thread.
11 (sys_select): Watch a process whose procinfo.hProcess is non-NULL
12 even if its char_avail is NULL. Allows to reap subprocesses that
13 were forcibly deleted by delete-process. (Bug#13546)
14
3 * w32.c (sys_socket, sys_bind, sys_connect, sys_gethostname) 15 * w32.c (sys_socket, sys_bind, sys_connect, sys_gethostname)
4 (sys_gethostbyname, sys_getservbyname, sys_getpeername) 16 (sys_gethostbyname, sys_getservbyname, sys_getpeername)
5 (sys_shutdown, sys_setsockopt, sys_listen, sys_getsockname) 17 (sys_shutdown, sys_setsockopt, sys_listen, sys_getsockname)