From 6548cdd59beca24a90f41d6507cb615e67828b07 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sun, 29 Jan 2012 21:20:36 -0800 Subject: rt: Make the initial segment of the main task's stack 1MB This is a trick to fool microbenchmarks. Closes #1681 --- src/rt/rust_task.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/rt/rust_task.h') diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 6ae663d2066..0d7cfed4a32 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -133,7 +133,8 @@ rust_task : public kernel_owned, rust_cond rust_task(rust_scheduler *sched, rust_task_list *state, rust_task *spawner, - const char *name); + const char *name, + size_t init_stack_sz); ~rust_task(); -- cgit 1.4.1-3-g733a5