Spawner #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Static ececutorto Static executorMake a lazy static AsyncMutexed executor.
This will allow other modules, and synchronous functions like interrupts and init procedures to register tasks, e.g. syscalls, drivers ...
Problem: mutex will stay locked at all time.
Static executorto SpawnerMutexed executor is a paved road to race conditions, implement a spawner instead with a task queue shared with the executor
No idea for now so I went back to a static executor for now just so I can start working on syscalls which will need to register async tasks in their interrupt handler.