diff options
| author | Michael Bebenita <[email protected]> | 2010-07-28 14:53:08 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-28 20:30:29 -0700 |
| commit | 30b3f8a11713e32fdb0d0059141289152a46d501 (patch) | |
| tree | abf0d4a9299e494db4993fca0ec75c63fad7d052 /src/rt/rust_dom.h | |
| parent | Null rust_task::cond on wakeup, add asserts and logging to block/wakeup. (diff) | |
| download | rust-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.h | 2 |
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(); }; // |