From 64120be7af8d2ded76cd3a3401fc69cadb96351e Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 29 Nov 2011 01:21:48 -0800 Subject: The TaskManager no longer waits on the pop(); instead it waits in the libev loop; also the Queue<> template changed for a naive but std-less implementation. --- includes/TaskMan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/TaskMan.h') diff --git a/includes/TaskMan.h b/includes/TaskMan.h index 026ea88..1e7a2f1 100644 --- a/includes/TaskMan.h +++ b/includes/TaskMan.h @@ -51,7 +51,7 @@ class TaskMan { struct taskHasher { size_t operator()(const Task * t) const { return reinterpret_cast(t); } }; typedef gnu::hash_set taskHash_t; taskHash_t m_tasks, m_signaledTasks; - Queue m_pendingAdd; + Queue m_pendingAdd; bool m_stopped; struct ev_loop * m_loop; bool m_allowedToSignal; -- cgit v1.2.3