diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-07-25 18:00:37 -0700 |
|---|---|---|
| committer | Eric Holk <eholk@mozilla.com> | 2011-07-28 10:47:28 -0700 |
| commit | 5302cde188bba80dd38c58eaafa792d621b0818c (patch) | |
| tree | 663ca3e81a7254548e756ea0dfef66d4362f971a /src/rt/rust_kernel.h | |
| parent | e697a52359874c2b7387be96e664b1f94b14255b (diff) | |
| download | rust-5302cde188bba80dd38c58eaafa792d621b0818c.tar.gz rust-5302cde188bba80dd38c58eaafa792d621b0818c.zip | |
Made task threads wait instead of sleep, so they can be woken up. This appears to give us much better parallel performance.
Also, commented out one more unsafe log and updated rust_kernel.cpp to compile under g++
Diffstat (limited to 'src/rt/rust_kernel.h')
| -rw-r--r-- | src/rt/rust_kernel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_kernel.h b/src/rt/rust_kernel.h index 8be9bb96e90..cf9d88e0016 100644 --- a/src/rt/rust_kernel.h +++ b/src/rt/rust_kernel.h @@ -106,6 +106,7 @@ public: bool is_deadlocked(); void signal_kernel_lock(); + void wakeup_schedulers(); /** * Notifies the kernel whenever a message has been enqueued . This gives |
