mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-31 23:38:21 +00:00
ke: scheduler overhaul
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user