Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: async timers #266

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

feat: async timers #266

wants to merge 2 commits into from

Conversation

JonasKruckenberg
Copy link
Owner

This PR adds support for async timers to scheduler, users can call sleep or sleep_until and the task (only works inside tasks) will be suspended until the timer runs out. This is implemented through per-worker timer wheels that multiplex a potentially quite large number of timers. These timer wheels will be used by the workers to determine the next timeout (if any)

feat(kernel): implement timers

feat(loader): pass `rng_seed` to kernel

feat(kernel): implement timers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant