Console Input Messed up in OS161
When you finished the process system call (e.g., fork
, execv
) and test your
system call by executing some user program, you'll probably find that the
console input behavior is messed up.
When you finished the process system call (e.g., fork
, execv
) and test your
system call by executing some user program, you'll probably find that the
console input behavior is messed up.
Before going on, assume you've read my previous post on pid management
Thanks to the struct process
, our work is much simplified. Quoting Eric S.Raymond
here.
more ...Smart data structures and dumb code works a lot better than the other way around.