mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
increase system-exec timeouts for kill.
This commit is contained in:
parent
822c460d15
commit
3813c7afae
1 changed files with 2 additions and 2 deletions
|
|
@ -627,7 +627,7 @@ SystemExec::terminate ()
|
||||||
close_stdin();
|
close_stdin();
|
||||||
|
|
||||||
if (pid) {
|
if (pid) {
|
||||||
::usleep(50000);
|
::usleep(200000);
|
||||||
sched_yield();
|
sched_yield();
|
||||||
wait(WNOHANG);
|
wait(WNOHANG);
|
||||||
}
|
}
|
||||||
|
|
@ -638,7 +638,7 @@ SystemExec::terminate ()
|
||||||
|
|
||||||
if (pid) {
|
if (pid) {
|
||||||
::kill(pid, SIGTERM);
|
::kill(pid, SIGTERM);
|
||||||
usleep(50000);
|
::usleep(250000);
|
||||||
sched_yield();
|
sched_yield();
|
||||||
wait(WNOHANG);
|
wait(WNOHANG);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue