summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index f5af35c..974ff5c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -10,7 +10,8 @@ use self::core::Core;
fn core_worker(mut core: Core, should_stop: &Mutex<bool>, cvar: &Condvar) {
loop {
while false == *should_stop.lock().unwrap() {
- println!("step {}", core.step());
+ core.step();
+ println!("{}", core.op());
sleep(time::Duration::from_millis(1000));
}