—
Application.eventWait(pid);
— I decided to run the entire system in two processes too, Supervisor
and User
— All user processes will be spawned as children to User
, and all system processes under Supervisor
.
— Something like PID 0 and PID 1
— New Process(generator, pid) ?
— Half correct, the number is an argument
— I edited it, now it is more clear
— PID is assigned by the scheduler only
— One of the first processes will be a column-text-mode thingy, then a resource monitor like top