From f5f6135fd0b2ed68ee0b0836967a31d8375523e0 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 21 Mar 2012 14:47:48 -0700 Subject: rt: Stop using large stacks for the main task --- src/rt/rust_task_thread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rt/rust_task_thread.cpp') diff --git a/src/rt/rust_task_thread.cpp b/src/rt/rust_task_thread.cpp index 11b4c985138..658dff23d27 100644 --- a/src/rt/rust_task_thread.cpp +++ b/src/rt/rust_task_thread.cpp @@ -260,11 +260,11 @@ rust_task_thread::start_main_loop() { } rust_task * -rust_task_thread::create_task(rust_task *spawner, const char *name, - size_t init_stack_sz) { +rust_task_thread::create_task(rust_task *spawner, const char *name) { rust_task *task = new (this->kernel, "rust_task") - rust_task (this, task_state_newborn, spawner, name, init_stack_sz); + rust_task (this, task_state_newborn, + spawner, name, env->min_stack_size); DLOG(this, task, "created task: " PTR ", spawner: %s, name: %s", task, spawner ? spawner->name : "null", name); -- cgit 1.4.1-3-g733a5