about summary refs log tree commit diff
path: root/src/rt/rust_kernel.h
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-02 17:02:50 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-02 18:10:24 -0800
commitaee83d2ff11139db92d37d2afc4e1dba3d198012 (patch)
treea0f54d9ab1a01abdbd32bff764f808465ccf09ec /src/rt/rust_kernel.h
parent5c3c8d454d58b3bb4a79d36b76582f1f7761bc75 (diff)
downloadrust-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.h2
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, ...);