Message from JavaScript discussions

September 2017

— I'm rooting

— 

const Application = new Process(function* () {

while (true) {

  console.log(args[0]);

  args[0]++;

  yield;

}, 0);

Application.exec(); // Something like:

Scheduler.start();

Scheduler.exec(Application);

— Application.kill();

— 

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