summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/TaskMan.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/TaskMan.cc b/src/TaskMan.cc
index 25b3eaa..393eb57 100644
--- a/src/TaskMan.cc
+++ b/src/TaskMan.cc
@@ -311,6 +311,7 @@ class ThreadedTaskMan : public Balau::Thread {
virtual void * proc() {
m_taskMan = new Balau::TaskMan();
m_taskMan->mainLoop();
+ return NULL;
}
Balau::TaskMan * m_taskMan;
};
@@ -318,4 +319,5 @@ class ThreadedTaskMan : public Balau::Thread {
Balau::Thread * Balau::TaskMan::createThreadedTaskMan() {
Thread * r = new ThreadedTaskMan();
r->threadStart();
+ return r;
}