Skip to content
Snippets Groups Projects
Commit a33ddef3 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

remove take message

parent 7952e3ed
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ pub unsafe fn switch() -> bool { ...@@ -31,7 +31,7 @@ pub unsafe fn switch() -> bool {
let check_context = |context: &mut Context| -> bool { let check_context = |context: &mut Context| -> bool {
if context.cpu_id == None && cpu_id == 0 { if context.cpu_id == None && cpu_id == 0 {
context.cpu_id = Some(cpu_id); 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() { if context.status == Status::Blocked && context.wake.is_some() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment