diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-06-20 17:19:50 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-06-27 09:58:39 -0700 |
| commit | 4bc773465fe95da37b8c867979786b190de6197c (patch) | |
| tree | 668f9398ab5f977a5dfac6c9e9b807540fe745d1 /src/rt/rust.cpp | |
| parent | 91eadfd1ea1544513258fc30bf94ef384db2ad90 (diff) | |
| download | rust-4bc773465fe95da37b8c867979786b190de6197c.tar.gz rust-4bc773465fe95da37b8c867979786b190de6197c.zip | |
Basic multithreading support. The infinite loops test successfully maxes out the CPU.
Diffstat (limited to 'src/rt/rust.cpp')
| -rw-r--r-- | src/rt/rust.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp index c7cece2ef81..f1666b2e7a7 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -95,7 +95,7 @@ rust_start(uintptr_t main_fn, int argc, char **argv, void* crate_map) { dom->root_task->start(main_fn, (uintptr_t)args->args); - int ret = dom->start_main_loop(); + int ret = dom->start_main_loops(8); delete args; kernel->destroy_domain(dom); kernel->join_all_domains(); |
