Message from JavaScript discussions
September 2017
— It's better than a vid-tutorial. You can copy/paste stuff and play around
In any case, this looks pretty legit: https://www.youtube.com/watch?v=MhkGQAoc7bc&list=PLoYCgNOIyGABj2GQSlDRjgvXtqfDxKm5b
— I shared it with him in the other group 👍
— Phew, this is really hard. Taking baby steps, divide & conquer problem solving... splitting the large problems like process time analysis, added to scheduling and time slicing, into smaller subproblems. One big thing I came up with to make it easier is a process API. So far it's not very complicated, but I decided to make it encapsulate the whole event and signal system, as well as the IPC system
— Oh damn
— Keep going
— 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
.