diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-10 01:22:10 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-10 11:53:30 -0800 |
| commit | 8e55d3130a1b8eab3b80c85e71a2a800fb9442f0 (patch) | |
| tree | c72705ebbc5f9fbfda0bd20e7f52d2550bb9101d /src/rt/rust_task_thread.cpp | |
| parent | 7f1ea3ef6a92eb82ae66c47954ed955eba6028b1 (diff) | |
| download | rust-8e55d3130a1b8eab3b80c85e71a2a800fb9442f0.tar.gz rust-8e55d3130a1b8eab3b80c85e71a2a800fb9442f0.zip | |
rt: Use 100k stacks for scheduler threads
Diffstat (limited to 'src/rt/rust_task_thread.cpp')
| -rw-r--r-- | src/rt/rust_task_thread.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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), |
