diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-02 17:02:50 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-02 18:10:24 -0800 |
| commit | aee83d2ff11139db92d37d2afc4e1dba3d198012 (patch) | |
| tree | a0f54d9ab1a01abdbd32bff764f808465ccf09ec /src/rt/rust_kernel.h | |
| parent | 5c3c8d454d58b3bb4a79d36b76582f1f7761bc75 (diff) | |
| download | rust-aee83d2ff11139db92d37d2afc4e1dba3d198012.tar.gz rust-aee83d2ff11139db92d37d2afc4e1dba3d198012.zip | |
rt: Only wake up all schedulers when no tasks are left
At the moment there's not really any reason to be raising this signal, since they schedulers wake up periodically anyway, but once we remove the timer this will be how the schedulers know to exit.
Diffstat (limited to 'src/rt/rust_kernel.h')
| -rw-r--r-- | src/rt/rust_kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_kernel.h b/src/rt/rust_kernel.h index 3d64e57d9f9..b82119cc5ad 100644 --- a/src/rt/rust_kernel.h +++ b/src/rt/rust_kernel.h @@ -47,7 +47,7 @@ public: bool is_deadlocked(); void signal_kernel_lock(); - void wakeup_schedulers(); + void exit_schedulers(); void log_all_scheduler_state(); void log(uint32_t level, char const *fmt, ...); |
