From 8e55d3130a1b8eab3b80c85e71a2a800fb9442f0 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 10 Feb 2012 01:22:10 -0800 Subject: rt: Use 100k stacks for scheduler threads --- src/rt/rust_task_thread.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 e217c2e610e..fe2a685a761 100644 --- a/src/rt/rust_task_thread.cpp +++ b/src/rt/rust_task_thread.cpp @@ -13,13 +13,15 @@ pthread_key_t rust_task_thread::task_key; DWORD rust_task_thread::task_key; #endif -const size_t C_STACK_SIZE = (1024*1024); +const size_t SCHED_STACK_SIZE = 1024*100; +const size_t C_STACK_SIZE = 1024*1024; bool rust_task_thread::tls_initialized = false; rust_task_thread::rust_task_thread(rust_scheduler *sched, rust_srv *srv, int id) : + rust_thread(SCHED_STACK_SIZE), ref_count(1), _log(srv, this), log_lvl(log_debug), -- cgit 1.4.1-3-g733a5