Skip to content

Commit 7d341d6

Browse files
committed
---
yaml --- r: 13562 b: refs/heads/master c: ec0fbf5 h: refs/heads/master v: v3
1 parent d57fa41 commit 7d341d6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 6e73e45e372a0dfc5a2ebf19780dc392ec092492
2+
refs/heads/master: ec0fbf526e76716379b86d53c1588e8f02ae986d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rt/rust_builtin.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,8 @@ rust_wait_cond_lock(rust_cond_lock *lock) {
896896
lock->waiting = task;
897897
task->block(lock, "waiting for signal");
898898
lock->lock.unlock();
899-
task->yield(false);
899+
bool killed = false;
900+
task->yield(&killed);
900901
lock->lock.lock();
901902
}
902903

0 commit comments

Comments
 (0)