From aee83d2ff11139db92d37d2afc4e1dba3d198012 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 2 Feb 2012 17:02:50 -0800 Subject: 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. --- src/rt/rust_kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust_kernel.h') 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, ...); -- cgit 1.4.1-3-g733a5