• Paul Eggert's avatar
    Fix a recently-introduced delete-process race condition. · 35fb8050
    Paul Eggert authored
    * callproc.c, process.h (record_kill_process):
    New function, containing part of the old call_process_kill.
    (call_process_kill): Use it.
    This does not change call_process_kill's behavior.
    * process.c (Fdelete_process): Use record_kill_process to fix a
    race condition that could cause Emacs to lose track of a child.
    35fb8050
process.h 7.31 KB