ke: scheduler overhaul

This commit is contained in:
Loïc Grégoire
2026-08-19 18:04:12 -04:00
parent f78d10b62e
commit ee0c6aad67
13 changed files with 896 additions and 733 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ fn make_thread(
const td = mm.zone.gpa.create(ke.Thread) catch
@panic("Failed to allocate thread for AP");
td.init(stack, size, ke.Thread.Priority.idle_low, entrypoint, null);
td.init(stack, size, .IdleThread, entrypoint, null);
td.pinned = true;
return td;