diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-21 14:47:48 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-21 19:10:32 -0700 |
| commit | f5f6135fd0b2ed68ee0b0836967a31d8375523e0 (patch) | |
| tree | b5ba72de9b642fc3849775450a02acb978a56bc9 /src/rt/rust_task_thread.cpp | |
| parent | 0639b67290cfc631fe2728a587380f3a97fd7408 (diff) | |
| download | rust-f5f6135fd0b2ed68ee0b0836967a31d8375523e0.tar.gz rust-f5f6135fd0b2ed68ee0b0836967a31d8375523e0.zip | |
rt: Stop using large stacks for the main task
Diffstat (limited to 'src/rt/rust_task_thread.cpp')
| -rw-r--r-- | src/rt/rust_task_thread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |
