diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-02 15:48:08 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-02 18:10:24 -0800 |
| commit | 18de0f2aeb16439cfb220e344c15d88b0f41c82d (patch) | |
| tree | 7fc5659ce6494c8747f3bc661162ccfef60ccc68 /src/rt/rust_builtin.cpp | |
| parent | 8693fcc2d78c02670d69eb7be772898b41281db7 (diff) | |
| download | rust-18de0f2aeb16439cfb220e344c15d88b0f41c82d.tar.gz rust-18de0f2aeb16439cfb220e344c15d88b0f41c82d.zip | |
rt: Rename task_sleep intrinsic to task_yield. Remove usec param
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index c4c9927b3f7..140c4f1ae84 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -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 |
