summaryrefslogtreecommitdiff
path: root/includes/Task.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Task.h')
-rw-r--r--includes/Task.h3
1 files changed, 2 insertions, 1 deletions
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();