diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-11-18 15:36:48 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-18 15:36:48 -0800 |
| commit | 1e58049da27614034f8eac5bc0e6ef9e2f2be3e6 (patch) | |
| tree | c563329196ecb410c7834a068dea1f8421378007 /src/rt/rust_builtin.cpp | |
| parent | 792068d871f2a8f7184a6f109db1d65c73bf63da (diff) | |
| download | rust-1e58049da27614034f8eac5bc0e6ef9e2f2be3e6.tar.gz rust-1e58049da27614034f8eac5bc0e6ef9e2f2be3e6.zip | |
rt: Remove fail calls from rust_task::yield
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 ff83cb7ec6b..6b57fae7470 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -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 |
