mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-31 07:18:22 +00:00
ke/sched: add pin helpers
This commit is contained in:
@@ -47,7 +47,7 @@ fn make_thread(
|
||||
|
||||
td.init(stack, size, .IdleThread, entrypoint, null);
|
||||
|
||||
td.pinned = true;
|
||||
ke.sched.pin(td);
|
||||
return td;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user