Create ‘polychoron’

This commit is contained in:
osmarks 2024-08-25 13:54:02 +00:00 committed by wikimind
parent 5832d595ff
commit 24983d71ca

3
polychoron.myco Normal file
View File

@ -0,0 +1,3 @@
Polychoron is the [[potatOS]] component responsible for multitasking. PotatOS is written in [[Lua]], which uses [[coroutines]] for cooperative multithreading, and [[ComputerCraft]], which uses primarily event-driven IO, so Polychoron creates coroutines for every thread/process, waking them when the appropriate event is received. Unlike the native `parallel` mechanism, Polychoron processes can be added, removed or paused at runtime.
Since PotatOS Epenthesis, Polychoron has also managed capabilities and restrictions for each process and provided IPC.