Remove unmeaningful messages of initproc/user_shell

ch7-signal
Yifan Wu 3 years ago
parent 87e61ef7e9
commit ad85266da1

@ -23,12 +23,14 @@ fn main() -> i32 {
yield_();
continue;
}
/*
println!(
"[initproc] Released a zombie process, pid={}, exit_code={}",
pid,
exit_code,
);
*/
}
}
0
}
}

@ -196,7 +196,7 @@ pub fn main() -> i32 {
for pid in children.into_iter() {
let exit_pid = waitpid(pid as usize, &mut exit_code);
assert_eq!(pid, exit_pid);
println!("Shell: Process {} exited with code {}", pid, exit_code);
//println!("Shell: Process {} exited with code {}", pid, exit_code);
}
}
line.clear();

Loading…
Cancel
Save