From 4bc773465fe95da37b8c867979786b190de6197c Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Mon, 20 Jun 2011 17:19:50 -0700 Subject: Basic multithreading support. The infinite loops test successfully maxes out the CPU. --- src/rt/rust.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust.cpp') 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(); -- cgit 1.4.1-3-g733a5