summaryrefslogtreecommitdiffstats
path: root/src/Thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Thread.cpp')
-rw-r--r--src/Thread.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Thread.cpp b/src/Thread.cpp
index d45f363..045db0f 100644
--- a/src/Thread.cpp
+++ b/src/Thread.cpp
@@ -115,6 +115,12 @@ Thread::stop()
}
void
+Thread::join()
+{
+ pthread_join(_pthread, NULL);
+}
+
+void
Thread::set_scheduling(int policy, unsigned int priority)
{
sched_param sp;