rt: Remove fail calls from rust_task::yield

This commit is contained in:
Brian Anderson
2011-11-18 15:36:48 -08:00
parent 792068d871
commit 1e58049da2
8 changed files with 25 additions and 24 deletions

View File

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