From 18de0f2aeb16439cfb220e344c15d88b0f41c82d Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 2 Feb 2012 15:48:08 -0800 Subject: rt: Rename task_sleep intrinsic to task_yield. Remove usec param --- src/rt/rust_task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust_task.cpp') 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; } -- cgit 1.4.1-3-g733a5