Have processes enqueue their own threads

This commit is contained in:
Drew Galbraith 2023-05-18 13:28:22 -07:00
parent cb41953354
commit 0d275c72a1
4 changed files with 7 additions and 5 deletions

View file

@ -18,6 +18,7 @@ extern "C" void zion() {
phys_mem::InitPhysicalMemoryManager();
sched::InitScheduler();
sched::CurrentProcess().CreateThread();
sched::EnableScheduler();
sched::Yield();