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 OnceCell #280

Open
JonasKruckenberg opened this issue Feb 10, 2025 · 0 comments
Open

[feat] Async OnceCell #280

JonasKruckenberg opened this issue Feb 10, 2025 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers sys: async Related to the scheduler or task subsystems

Comments

@JonasKruckenberg
Copy link
Owner

JonasKruckenberg commented Feb 10, 2025

The kernel is full of one-time initialization state that uses a OnceLock and while not strictly necessary since most of these will be initialized during startup anyway having an asynchronous version of this would be great so other tasks could continue to make progress, after all in the cooperative scheduling environment of k23 tasks blocking is even worse than blocking in traditional async runtimes since blocking will not just block a thread it will block the entire CPU.

@JonasKruckenberg JonasKruckenberg added enhancement New feature or request sys: async Related to the scheduler or task subsystems good first issue Good for newcomers labels Feb 10, 2025
@JonasKruckenberg JonasKruckenberg changed the title feat: Async OnceCell [feat] Async OnceCell Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers sys: async Related to the scheduler or task subsystems
Projects
None yet
Development

No branches or pull requests

1 participant