const MAX_TASKS: usize = 1024;Expand description
Task pool that stores tasks in fixed positions
With each Task being 824 bytes, 1024 tasks consume approximately 824 KiB of memory,
which is very reasonable for general-purpose systems.
TODO: Refactor Task struct to use fine-grained Mutex on individual fields
(e.g., state: Mutex