summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-11-19 11:05:00 -0800
committerPixel <pixel@nobis-crew.org>2011-11-19 11:10:21 -0800
commit861a79f0207a8391fa37b30427d36cf46c41cbd4 (patch)
tree56865bb65e8bc8344c0c234a6b20368b4c459d72 /src
parent0f0db0ee56b69d580fe66528a379fb08d714bf4d (diff)
Fixing a few very stupid bugs.
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;
}