From e435e4bb3c0744acf5b36c6e441d309d10af1257 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 17 Nov 2011 08:54:14 -0800 Subject: Introducing the fact we need a more efficient stack allocator, and that it's to be performed from the task manager. --- includes/Task.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/Task.h') diff --git a/includes/Task.h b/includes/Task.h index 9244347..5865831 100644 --- a/includes/Task.h +++ b/includes/Task.h @@ -135,8 +135,9 @@ class Task { } TaskMan * getMyTaskMan() { return m_taskMan; } private: - size_t stackSize() { return 128 * 1024; } + static size_t stackSize() { return 64 * 1024; } void setup(TaskMan * taskMan); + static bool needsStacks(); void switchTo(); static void CALLBACK coroutineTrampoline(void *); void coroutine(); -- cgit v1.2.3