added the concept of a process

This commit is contained in:
2023-04-14 00:18:21 +02:00
parent 655439461a
commit 747bde4aa6
3 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
package kernel.ps;
import kernel.ps.ProcessHandle.HandleConfig;
class ProcessManager {
public static function run(process:Process, config: HandleConfig):ProcessHandle {
var handle = new ProcessHandle(config);
process.run(handle);
return handle;
}
}