From 2cb2961c9f6062e867b6ccc3d9067f55c7b81ea4 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 17 Nov 2011 11:17:57 -0800 Subject: Cleaning some code, redesigning a bit the stack allocation problem from the task manager, and actually implementing it properly. --- includes/TaskMan.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'includes/TaskMan.h') diff --git a/includes/TaskMan.h b/includes/TaskMan.h index b944f09..c63695a 100644 --- a/includes/TaskMan.h +++ b/includes/TaskMan.h @@ -6,7 +6,7 @@ #endif #include #include -#include +#include #include #include @@ -55,6 +55,8 @@ class TaskMan { struct ev_loop * m_loop; bool m_allowedToSignal; ev::async m_evt; + std::queue m_stacks; + int m_nStacks; }; template -- cgit v1.2.3