aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_dom.h
diff options
context:
space:
mode:
authorMichael Bebenita <[email protected]>2010-07-28 14:53:08 -0700
committerGraydon Hoare <[email protected]>2010-07-28 20:30:29 -0700
commit30b3f8a11713e32fdb0d0059141289152a46d501 (patch)
treeabf0d4a9299e494db4993fca0ec75c63fad7d052 /src/rt/rust_dom.h
parentNull rust_task::cond on wakeup, add asserts and logging to block/wakeup. (diff)
downloadrust-30b3f8a11713e32fdb0d0059141289152a46d501.tar.xz
rust-30b3f8a11713e32fdb0d0059141289152a46d501.zip
Add rust_dom::log_state, for logging the running/blocked/dead vectors per scheduling iteration.
Diffstat (limited to 'src/rt/rust_dom.h')
-rw-r--r--src/rt/rust_dom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rt/rust_dom.h b/src/rt/rust_dom.h
index 77faa61d..8247cbbd 100644
--- a/src/rt/rust_dom.h
+++ b/src/rt/rust_dom.h
@@ -88,6 +88,8 @@ struct rust_dom
void reap_dead_tasks();
rust_task *schedule_task();
int start_main_loop();
+
+ void log_state();
};
//