From fb528dd7d613964e05dd682a6a98980a1ebdb4d6 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sun, 1 Apr 2012 16:38:42 -0700 Subject: rt: Allow some schedulers to stay alive even without tasks to execute --- src/rt/rust_kernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust_kernel.cpp') diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp index c7625537f40..5062e4de3c3 100644 --- a/src/rt/rust_kernel.cpp +++ b/src/rt/rust_kernel.cpp @@ -69,7 +69,7 @@ rust_kernel::create_scheduler(size_t num_threads) { id = max_sched_id++; K(srv, id != INTPTR_MAX, "Hit the maximum scheduler id"); sched = new (this, "rust_scheduler") - rust_scheduler(this, srv, num_threads, id); + rust_scheduler(this, srv, num_threads, id, true); bool is_new = sched_table .insert(std::pair(id, sched)).second; -- cgit 1.4.1-3-g733a5