summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/audio_backend.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-09-12 11:29:47 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-09-12 11:29:47 -0400
commit4df3666738607039445ebc9fa083bf5c23ac5539 (patch)
tree3388082f2e73c020edde31796fd977a71cb3abae /libs/ardour/ardour/audio_backend.h
parent9f2ab81df6709d7b5d5701abbedc63d39e7330ab (diff)
add AudioBackendNativeThread to serve the same role as jack_native_thread_t
Diffstat (limited to 'libs/ardour/ardour/audio_backend.h')
-rw-r--r--libs/ardour/ardour/audio_backend.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/ardour/ardour/audio_backend.h b/libs/ardour/ardour/audio_backend.h
index ab37bea526..6c4a54da3e 100644
--- a/libs/ardour/ardour/audio_backend.h
+++ b/libs/ardour/ardour/audio_backend.h
@@ -399,7 +399,13 @@ class AudioBackend {
* stacksize. The thread will begin executing @param func, and will exit
* when that function returns.
*/
- virtual int create_process_thread (boost::function<void()> func, pthread_t*, size_t stacksize) = 0;
+ virtual int create_process_thread (boost::function<void()> func, AudioBackendNativeThread*, size_t stacksize) = 0;
+
+ /** Wait for the thread specified by @param thread to exit.
+ *
+ * Return zero on success, non-zero on failure.
+ */
+ virtual int wait_for_process_thread_exit (AudioBackendNativeThread thread) = 0;
virtual void update_latencies () = 0;