diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-30 13:54:37 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-31 19:51:29 -0700 |
| commit | 218dd084697ed2ce58812ef9e69cdc86cb83bcf2 (patch) | |
| tree | 171eaf77a6e1d8c4af168bcb17d2ba02d9f41f83 /src/rt/rust.cpp | |
| parent | 771c1be6a64225d416ad99a860f1c8d34ce3a18b (diff) | |
| download | rust-218dd084697ed2ce58812ef9e69cdc86cb83bcf2.tar.gz rust-218dd084697ed2ce58812ef9e69cdc86cb83bcf2.zip | |
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.
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 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; |
