documenting smp and scheduling to research
This commit is contained in:
1 parent
f9f0511ac2
commit
a6de418e42
3 files changed
+167
-2
No files matched your search
+2
-2
@@ -18,8 +18,8 @@ const heap = @import("heap.zig");
|
||||
pub const Priority = u3;
|
||||
const num_priorities = 8;
|
||||
|
||||
const stack_size = 16 * 1024; // per-task kernel stack
|
||||
const max_tasks = 16;
|
||||
const stack_size = 16 * 1024; // each task's kernel stack is 16 KiB
|
||||
const max_tasks = 16; // the maximum number of tasks alive at once is 16 in a static sized pool
|
||||
|
||||
const State = enum { free, ready, running, blocked };
|
||||
|
||||
|
||||
Reference in new issue
Block a user