search for: kill_signal1

Displaying 1 result from an estimated 1 matches for "kill_signal1".

Did you mean: kill_signal2
2020 May 14
1
system(timeout=) may timeout with 0 exit code
Hi R developers, I observed that system(timeout=) may still return exit code 0, when killing the process due to timeout. In src/unix/sys-unix.c there is #define KILL_SIGNAL1 SIGINT #define KILL_SIGNAL2 SIGTERM #define KILL_SIGNAL3 SIGKILL #define EMERGENCY_TIMEOUT 20 After little bit of debugging I observed that total time of system call is provided timeout value + 20s. That means EMERGENCY_TIMEOUT 20 kicked in, adding 20 seconds. I don't have a reproducible exam...