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

Allow polling exited tasks #3622

Merged
merged 7 commits into from
Dec 17, 2024
Merged

Allow polling exited tasks #3622

merged 7 commits into from
Dec 17, 2024

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Dec 7, 2024

This PR replaces poll_fn to a more "inert" one, making it okay to poll !SPAWNED tasks. I guess this PR changes the trace output for awoken-exited tasks, but it's probably for the better.

ESP32-S3: cycle count goes from 15749/100 to 14745/100
ESP32-S2: cycle count goes from 25815/100 to 24809/100

@bugadani bugadani marked this pull request as ready for review December 17, 2024 17:17
@bugadani bugadani changed the title Despawn task during a subsequent poll Allow polling exited tasks Dec 17, 2024
@Dirbaio
Copy link
Member

Dirbaio commented Dec 17, 2024

bender run

@Dirbaio Dirbaio enabled auto-merge December 17, 2024 17:53
@Dirbaio Dirbaio added this pull request to the merge queue Dec 17, 2024
Merged via the queue into embassy-rs:main with commit 0c24589 Dec 17, 2024
7 checks passed
@bugadani bugadani deleted the next branch December 17, 2024 18:11
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.

2 participants