Reintroduce linked failure (killing runtime)

This reverts commit 5724c64549.
This commit is contained in:
Ben Blum
2012-07-12 19:52:32 -04:00
parent 62575d9c4a
commit d338879ba5
6 changed files with 59 additions and 23 deletions

View File

@@ -863,6 +863,11 @@ rust_task_kill_other(rust_task *task) { /* Used for linked failure */
task->kill();
}
extern "C" void
rust_task_kill_all(rust_task *task) {
task->fail_sched_loop();
}
extern "C" rust_cond_lock*
rust_create_cond_lock() {
return new rust_cond_lock();