diff options
| author | Ben Blum <bblum@andrew.cmu.edu> | 2012-07-10 21:55:44 -0400 |
|---|---|---|
| committer | Ben Blum <bblum@andrew.cmu.edu> | 2012-07-11 12:09:07 -0400 |
| commit | 74f4b8d901cf16ef8dc601749108f4d79d7b53e0 (patch) | |
| tree | 26b63d182fbcf441d4859b25826862d3bf149224 /src/rt/rust_sched_loop.cpp | |
| parent | 5d6d3d056592cf4d68afbce6084245ea6733865c (diff) | |
| download | rust-74f4b8d901cf16ef8dc601749108f4d79d7b53e0.tar.gz rust-74f4b8d901cf16ef8dc601749108f4d79d7b53e0.zip | |
Unify state_lock + kill_lock -> lifecycle_lock (#2787)
Diffstat (limited to 'src/rt/rust_sched_loop.cpp')
| -rw-r--r-- | src/rt/rust_sched_loop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_sched_loop.cpp b/src/rt/rust_sched_loop.cpp index 1cf9b275427..4aed9a5e061 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 |
