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 Notify #279

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

[feat] Async Notify #279

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 sys: WASM Related to the WebAssembly Engine

Comments

@JonasKruckenberg
Copy link
Owner

JonasKruckenberg commented Feb 10, 2025

Implement/port an asynchronous Notify type that allows any number of tasks to wait on a signal and other tasks to wake them up by notifying one or many at once. See tokio's Notify and async_std's Condvar for inspiration.

This is not only a useful general purpose sync primitive, it is also a requirement for the WASM memory.atomic.wait and memory.atomic.notify instructions and potentially any page-eviction, page-compaction deamon tasks in the future.

@JonasKruckenberg JonasKruckenberg added enhancement New feature or request sys: async Related to the scheduler or task subsystems sys: WASM Related to the WebAssembly Engine good first issue Good for newcomers labels Feb 10, 2025
@JonasKruckenberg JonasKruckenberg changed the title feat: Async Notify [feat] Async Notify 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 sys: WASM Related to the WebAssembly Engine
Projects
None yet
Development

No branches or pull requests

1 participant