diff --git a/src/runtime2/scheduler.rs b/src/runtime2/scheduler.rs index 949372cab20039bb34bd20b88e5872af73ae32f8..1e02cfa0db92610c63a8e2ac8800acd22fcd9ae3 100644 --- a/src/runtime2/scheduler.rs +++ b/src/runtime2/scheduler.rs @@ -28,6 +28,11 @@ impl<'a> SchedulerCtx<'a> { pub(crate) fn log(&self, text: &str) { println!("[s:{:02}, c:{:03}] {}", self.id, self.comp, text); } + + // TODO: Obviously remove, but useful for testing + pub(crate) fn log_special(&self, text: &str) { + println!("[s:{:02}, c:{:03}] *** *** {}", self.id, self.comp, text); + } } impl Scheduler { @@ -105,7 +110,6 @@ impl Scheduler { let old_count = component.public.num_handles.fetch_sub(1, Ordering::AcqRel); let new_count = old_count - 1; - println!(" ****** DEBUG [ sched]: Decremented count to {} for {:?}", new_count, component.ctx.id); if new_count == 0 { sched_ctx.runtime.destroy_component(comp_key); return;