diff --git a/context/switch.rs b/context/switch.rs index f3ace741bcb56f736c23608aab2d0e5c7767d1f4..a438d899d53f43f72bb830d99b026eeff5a6a7f3 100644 --- a/context/switch.rs +++ b/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() {