Name: ScreepsOS
Owner: screepers
Description: Screeps/Serializable Operation System (SOS)
Created: 2017-01-02 21:10:52.0
Updated: 2018-02-20 16:00:02.0
Pushed: 2018-01-18 10:13:59.0
Homepage: null
Size: 30
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Lightweight generator-based OS.
eval
calls)*run() {}
and ordinary run() {}
process loop functionsSYSCALL | Description
— | —
yield new Yield();
| allows scheduler to interrupt process to be continue later this tick
yield new Sleep(10);
| stops process execution for several ticks
yield new Fork(priority, class);
| runs new child process
yield new Inject(pid);
| allows to modify child processes memory
yield new Kill();
| kills process
yield new Reboot();
| finishes current tick execution
yield new Priority(newVal);
| requests for new priority value
To be continued…