From 867a3badbf894294371d894167d1b31ff7a778c4 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 31 Oct 2016 22:12:10 -0600 Subject: [PATCH] remove take message --- kernel/context/switch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/context/switch.rs b/kernel/context/switch.rs index f3ace74..a438d89 100644 --- a/kernel/context/switch.rs +++ b/kernel/context/switch.rs @@ -31,7 +31,7 @@ pub unsafe fn switch() -> bool { let check_context = |context: &mut Context| -> bool { if context.cpu_id == None && cpu_id == 0 { context.cpu_id = Some(cpu_id); - println!("{}: take {} {}", cpu_id, context.id, ::core::str::from_utf8_unchecked(&context.name.lock())); + // println!("{}: take {} {}", cpu_id, context.id, ::core::str::from_utf8_unchecked(&context.name.lock())); } if context.status == Status::Blocked && context.wake.is_some() {