From 218dd084697ed2ce58812ef9e69cdc86cb83bcf2 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 30 Mar 2012 13:54:37 -0700 Subject: rt: Introduce rust_sched_reaper This just moves the responsibility for joining with scheduler threads off to a worker thread. This will be needed when we allow tasks to be scheduled on the main thread. --- 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 d1adf41118f..00657f8ec0a 100644 --- a/src/rt/rust.cpp +++ b/src/rt/rust.cpp @@ -93,7 +93,7 @@ rust_start(uintptr_t main_fn, int argc, char **argv, void* crate_map) { root_task->start((spawn_fn)main_fn, NULL, args->args); root_task = NULL; - int ret = kernel->wait_for_schedulers(); + int ret = kernel->wait_for_exit(); delete args; delete kernel; delete srv; -- cgit 1.4.1-3-g733a5