documenting smp and scheduling to research
This commit is contained in:
+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