summaryrefslogtreecommitdiff
path: root/gtk2_ardour/system_exec.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-03-29 09:48:29 +0100
committerRobin Gareus <robin@gareus.org>2013-03-29 12:36:02 +0100
commit9274b870abcebe2605d118a394ab23dd8ce3eef4 (patch)
tree3978f7bbfc63952914b50a2f0d021301564eed9f /gtk2_ardour/system_exec.cc
parent941898843ead9677792df9e10e6a545f29d43499 (diff)
vtl: amend 0c2d95b - fix possible race condition when terminating external program
Diffstat (limited to 'gtk2_ardour/system_exec.cc')
-rw-r--r--gtk2_ardour/system_exec.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk2_ardour/system_exec.cc b/gtk2_ardour/system_exec.cc
index 44fed48c12..00b212710e 100644
--- a/gtk2_ardour/system_exec.cc
+++ b/gtk2_ardour/system_exec.cc
@@ -306,7 +306,6 @@ SystemExec::output_interposer()
ReadStdout(data, bytesRead);/* EMIT SIGNAL */
}
Terminated();/* EMIT SIGNAL */
- terminate();
}
void
@@ -618,7 +617,6 @@ SystemExec::output_interposer()
ReadStdout(rv, r);/* EMIT SIGNAL */
}
Terminated();/* EMIT SIGNAL */
- terminate();
}
void
@@ -653,9 +651,6 @@ SystemExec::write_to_stdin(std::string d, size_t len)
}
if (r != (len-c)) {
::pthread_mutex_unlock(&write_lock);
-#if 1 // debug
- printf("XXX: child process communication breakdown.\n");
-#endif
return c;
}
break;