Spawner #2

Open
opened 2022-12-21 17:33:42 +00:00 by juju · 3 comments
Owner
No description provided.
juju added the Feature label 2022-12-21 17:33:42 +00:00
juju changed title from Static ececutor to Static executor 2022-12-21 19:14:47 +00:00
Author
Owner

Make 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.

Make 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.
juju changed title from Static executor to Spawner 2022-12-30 12:55:13 +00:00
Author
Owner

Mutexed executor is a paved road to race conditions, implement a spawner instead with a task queue shared with the executor

Mutexed executor is a paved road to race conditions, implement a spawner instead with a task queue shared with the executor
Author
Owner

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.

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.
juju added the Optimization label 2023-01-03 19:37:46 +00:00
juju added the Non-critical label 2023-01-06 14:18:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: juju/JuliOS#2
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.