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

fix(runtime): register timer on first poll #354

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

Berrysoft
Copy link
Member

TimerFuture and OpFuture are different. TimerFuture is runtime independent (but compio) until first poll. OpFuture should be polled on the same runtime that creates it.

@Berrysoft Berrysoft added bug Something isn't working package: runtime Related to compio-runtime labels Nov 28, 2024
@Berrysoft Berrysoft self-assigned this Nov 28, 2024
@Berrysoft Berrysoft requested a review from AsakuraMizu December 1, 2024 16:10
compio-runtime/src/runtime/mod.rs Outdated Show resolved Hide resolved
@Berrysoft Berrysoft merged commit c59a0fd into compio-rs:master Dec 2, 2024
51 checks passed
@Berrysoft Berrysoft deleted the fix/timer-register branch December 2, 2024 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package: runtime Related to compio-runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants