about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-02 15:48:08 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-02 18:10:24 -0800
commit18de0f2aeb16439cfb220e344c15d88b0f41c82d (patch)
tree7fc5659ce6494c8747f3bc661162ccfef60ccc68 /src/rt/rust_task.cpp
parent8693fcc2d78c02670d69eb7be772898b41281db7 (diff)
downloadrust-18de0f2aeb16439cfb220e344c15d88b0f41c82d.tar.gz
rust-18de0f2aeb16439cfb220e344c15d88b0f41c82d.zip
rt: Rename task_sleep intrinsic to task_yield. Remove usec param
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index 017de8dca1b..faeae72f9db 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -401,7 +401,7 @@ void rust_task::start()
 
 // Only run this on the rust stack
 void
-rust_task::yield(size_t time_in_us, bool *killed) {
+rust_task::yield(bool *killed) {
     if (this->killed) {
         *killed = true;
     }