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:43:55 -0400
committerBen Blum <bblum@andrew.cmu.edu>2012-07-12 19:49:49 -0400
commit08c40c5eb7bda79850f725308b72c1451fb67a86 (patch)
treeba1a298a818716ffef5f779fe4dce70e397cb2a1 /src/rt/rust_sched_loop.cpp
parent3b159c6d5ba48643e8982e7cadbc1745e9f29f62 (diff)
downloadrust-08c40c5eb7bda79850f725308b72c1451fb67a86.tar.gz
rust-08c40c5eb7bda79850f725308b72c1451fb67a86.zip
Revert linked failure (lifecycle lock)
This reverts commit 74f4b8d901cf16ef8dc601749108f4d79d7b53e0.
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 4aed9a5e061..1cf9b275427 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;
         }
 
-        scheduled_task->assert_is_running();
+        assert(scheduled_task->running());
 
         DLOG(this, task,
              "activating task %s 0x%" PRIxPTR