rt: Rename task_sleep intrinsic to task_yield. Remove usec param

This commit is contained in:
Brian Anderson
2012-02-02 15:48:08 -08:00
parent 8693fcc2d7
commit 18de0f2aeb
9 changed files with 31 additions and 48 deletions

View File

@@ -499,8 +499,8 @@ chan_id_send(type_desc *t, rust_task_id target_task_id,
// This is called by an intrinsic on the Rust stack and must run
// entirely in the red zone. Do not call on the C stack.
extern "C" CDECL void
rust_task_sleep(rust_task *task, size_t time_in_us, bool *killed) {
task->yield(time_in_us, killed);
rust_task_yield(rust_task *task, bool *killed) {
task->yield(killed);
}
extern "C" CDECL void