wait-process.c (bison-3.8.1.tar.xz) | : | wait-process.c (bison-3.8.2.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 105 | skipping to change at line 105 | |||
/* Kill the slave. */ | /* Kill the slave. */ | |||
kill (slave, TERMINATOR); | kill (slave, TERMINATOR); | |||
} | } | |||
} | } | |||
} | } | |||
/* The cleanup action, taking a signal argument. | /* The cleanup action, taking a signal argument. | |||
It gets called asynchronously. */ | It gets called asynchronously. */ | |||
static _GL_ASYNC_SAFE void | static _GL_ASYNC_SAFE void | |||
cleanup_slaves_action (int sig _GL_UNUSED) | cleanup_slaves_action (_GL_UNUSED int sig) | |||
{ | { | |||
cleanup_slaves (); | cleanup_slaves (); | |||
} | } | |||
/* Register a subprocess as being a slave process. This means that the | /* Register a subprocess as being a slave process. This means that the | |||
subprocess will be terminated when its creator receives a catchable fatal | subprocess will be terminated when its creator receives a catchable fatal | |||
signal or exits normally. Registration ends when wait_subprocess() | signal or exits normally. Registration ends when wait_subprocess() | |||
notices that the subprocess has exited. */ | notices that the subprocess has exited. */ | |||
void | void | |||
register_slave_subprocess (pid_t child) | register_slave_subprocess (pid_t child) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |