summaryrefslogtreecommitdiff
path: root/includes/LuaTask.h
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2012-04-03 16:05:07 -0700
committerPixel <pixel@nobis-crew.org>2012-04-03 16:05:07 -0700
commitb7c281e1d7c26d4414706d529862407d07e385c2 (patch)
tree5462876ddcd86787068753a8c6a40ca017cf88fa /includes/LuaTask.h
parent532f3e7bae955f8da4c2028bc462134ed10ff414 (diff)
Having a slightly better mechanism for stopping the LuaMainTask, as well as some debugging messages.
Diffstat (limited to 'includes/LuaTask.h')
-rw-r--r--includes/LuaTask.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/LuaTask.h b/includes/LuaTask.h
index 5058578..0d763de 100644
--- a/includes/LuaTask.h
+++ b/includes/LuaTask.h
@@ -11,7 +11,7 @@ class LuaMainTask;
class LuaExecCell {
public:
- LuaExecCell() : m_detached(false) { }
+ LuaExecCell();
void detach() { m_detached = true; }
void exec(LuaMainTask * mainTask);
protected:
@@ -61,7 +61,6 @@ class LuaMainTask : public Task {
virtual void Do();
Lua L;
TQueue<LuaExecCell> m_queue;
- volatile bool m_stopping;
friend class LuaExecCell;
};