mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 14:58:21 +00:00
ke: add mechanisms for updating priority
This commit is contained in:
@@ -43,7 +43,7 @@ fn make_thread(entrypoint: *const fn (?*anyopaque) void, stack: usize) *ke.Threa
|
||||
td.init(stack, r.kib(32), entrypoint, null);
|
||||
|
||||
td.priority = 0;
|
||||
td.priority_class = .Idle;
|
||||
td.base_priority = 0;
|
||||
td.pinned = true;
|
||||
return td;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user