Mercurial > lcfOS
view kernel/src/kernel.c3 @ 368:d2ddfe134c48
Remove yield from for python < 3.3
author | Windel Bouwman |
---|---|
date | Fri, 21 Mar 2014 11:21:50 +0100 |
parents | 577ed7fb3fe4 |
children | 6df89163e114 |
line wrap: on
line source
module kernel; import memory; import process; import scheduler; import arch; import io; // Main entry point of the kernel: function void start() { arch.init(); io.println("Welcome to lcfos!"); // process.init(); memory.init(); //Process proc = new process:Process(); //scheduler:queue(proc); while(true) {} } // Called in total stress: function void panic() { arch.halt(); }