about summary refs log tree commit diff
path: root/src/rt/rust_sched_loop.cpp
diff options
context:
space:
mode:
authorBen Blum <bblum@andrew.cmu.edu>2012-07-12 19:52:13 -0400
committerBen Blum <bblum@andrew.cmu.edu>2012-07-13 20:13:53 -0400
commit79a2e9a38a243d30130e32fa0741d7430fc63758 (patch)
tree0cd5655c77f99e4c1f1ef220ecc8d53079f78baf /src/rt/rust_sched_loop.cpp
parentdf2d2604ca8277634df6e38b548aa884ab387963 (diff)
downloadrust-79a2e9a38a243d30130e32fa0741d7430fc63758.tar.gz
rust-79a2e9a38a243d30130e32fa0741d7430fc63758.zip
Reintroduce linked failure (lifecycle lock)
This reverts commit 08c40c5eb7bda79850f725308b72c1451fb67a86.
Diffstat (limited to 'src/rt/rust_sched_loop.cpp')
-rw-r--r--src/rt/rust_sched_loop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_sched_loop.cpp b/src/rt/rust_sched_loop.cpp
index 4b94968d7c0..ccfdcb5a8ab 100644
--- a/src/rt/rust_sched_loop.cpp
+++ b/src/rt/rust_sched_loop.cpp
@@ -208,7 +208,7 @@ rust_sched_loop::run_single_turn() {
             return sched_loop_state_block;
         }
 
-        assert(scheduled_task->running());
+        scheduled_task->assert_is_running();
 
         DLOG(this, task,
              "activating task %s 0x%" PRIxPTR