From 0679f2c8044579e96334d782d86fd6b5a79c3185 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 9 Jan 2011 19:57:24 +0000 Subject: Non-trivial thread/semaphore test. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2803 a436a847-0d15-0410-975c-d299462d15a1 --- src/Thread.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/Thread.cpp b/src/Thread.cpp index d45f363..045db0f 100644 --- a/src/Thread.cpp +++ b/src/Thread.cpp @@ -114,6 +114,12 @@ Thread::stop() } } +void +Thread::join() +{ + pthread_join(_pthread, NULL); +} + void Thread::set_scheduling(int policy, unsigned int priority) { -- cgit v1.2.1