diff options
| author | Eric Holk <eric.holk@gmail.com> | 2012-06-19 12:26:30 -0700 |
|---|---|---|
| committer | Eric Holk <eric.holk@gmail.com> | 2012-06-19 12:26:58 -0700 |
| commit | ec0fbf526e76716379b86d53c1588e8f02ae986d (patch) | |
| tree | e1c2477a3382b8017b5d9a5d2d2cfbbfe63917f7 /src/rt/rust_builtin.cpp | |
| parent | 6e73e45e372a0dfc5a2ebf19780dc392ec092492 (diff) | |
| download | rust-ec0fbf526e76716379b86d53c1588e8f02ae986d.tar.gz rust-ec0fbf526e76716379b86d53c1588e8f02ae986d.zip | |
Fixed a compile error in runtime.
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index ece6d97bb49..bc215c4e7b2 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -896,7 +896,8 @@ rust_wait_cond_lock(rust_cond_lock *lock) { lock->waiting = task; task->block(lock, "waiting for signal"); lock->lock.unlock(); - task->yield(false); + bool killed = false; + task->yield(&killed); lock->lock.lock(); } |
