2 OS2: bare-banes kernel with process creation system-call
(require dos/os2) | package: dos |
dos/os2 extends dos by assuming that when the OS state is manipulated new processes can be created. A simple example is included in the source.
procedure
(os2-boot + cur ps zero) →
state? (treeof (-> state? state?)) + : (-> state? state? state?) cur : state? ps : (treeof (-> state? state?)) zero : state?
Like dos-boot but returns a list of processes in addition to the new state.
A system call that returns the state st and creates
additional processes specified in ts. Returns the next state,
like dos-syscall.
Like os2-write, but does not return.