pub fn debug_print_processes() {
    use crate::terminal::console;

    let processes = all();

    let _ = writeln!(console(), "ID    PGID  STATE NAME");

    for rc_process in processes {
        let process = rc_process.lock();

        let _ = writeln!(console(), "{:<5} {:<5} {:<5} {}",
            process.id(),
            process.pgid(),
            process.state().short_description(),
            process.name());
    }
}
/// Dumps a list of processes to the console, for debugging.
Dumps a list of processes to the console, for debugging.
Dumps a list of processes to the console for debugging .
pub fn debug_print_processes() {
    use crate::terminal::console;
    let processes = all();
    let _ = writeln!(console(), "ID    PGID  STATE NAME");
    for rc_process in processes {
        let process = rc_process.lock();
        let _ = writeln!(console(), "{:<5} {:<5} {:<5} {}",
            process.id(),
            process.pgid(),
            process.state().short_description(),
            process.name());
    }
}
pub fn debug_print_processes ( ) { use crate :: terminal :: console ; let processes = all ( ) ; let _ = writeln ! ( console ( ) " " ) ; for rc_process in processes { let process = rc_process . lock ( ) ; let _ = writeln ! ( console ( ) " " process id ( ) process pgid ( ) process state ( ) short_description ( ) process name ( ) ) ; } }
Dumps a list of processes to the console, for debugging.
Dumps a list of processes to the console for debugging .