Commit Graph

7 Commits

Author SHA1 Message Date
Ry
887ebc4553 Add get_current_task_id 2022-06-24 17:40:52 -07:00
Ry
04761c1a07 Add stack block pointer to each task
This allows the stack block to automatically be freed when the task
ends.
2022-06-24 16:37:43 -07:00
Ry
0d57361f66 Allow tasks to not free their memory when they end 2022-06-23 16:38:05 -07:00
Ry
d1d2df0d74 Change scheduler starvation panic message 2022-06-23 15:43:36 -07:00
Ry
309ac8cd15 Use the memory allocator for tasks' code memory 2022-06-23 15:18:21 -07:00
Ry
3237db9aac fox32os: Don't mark task 0 as unused when yielding for the first time 2022-05-21 17:04:39 -07:00
Ry
995b01dfd2 fox32os: Implement multitasking and add a jump table for applications 2022-05-21 16:55:56 -07:00