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

coop: expose coop as a public module #7116

Merged
merged 15 commits into from
Feb 14, 2025

Conversation

maminrayej
Copy link
Member

This PR makes the coop module public and exposes the has_budget_remaining function.

The motivation for this is to make select! budget-aware (see #7108). The exposed functionality is also useful when dealing with a combination of budget-aware and non-budget-aware futures.

Related to #7111.

@maminrayej maminrayej added A-tokio Area: The main tokio crate M-coop Module: tokio/coop labels Jan 21, 2025
@github-actions github-actions bot added R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR R-loom-multi-thread-alt Run loom multi-thread alt tests on this PR R-loom-sync Run loom sync tests on this PR labels Jan 21, 2025
@github-actions github-actions bot removed R-loom-sync Run loom sync tests on this PR R-loom-multi-thread-alt Run loom multi-thread alt tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR R-loom-current-thread Run loom current-thread tests on this PR labels Jan 21, 2025
@maminrayej maminrayej added the M-runtime Module: tokio/runtime label Jan 21, 2025
@github-actions github-actions bot added R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR R-loom-multi-thread-alt Run loom multi-thread alt tests on this PR R-loom-sync Run loom sync tests on this PR labels Jan 22, 2025
maminrayej and others added 2 commits January 28, 2025 00:23
Co-authored-by: Alice Ryhl <aliceryhl@google.com>
@maminrayej maminrayej merged commit 605ef57 into tokio-rs:master Feb 14, 2025
88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-coop Module: tokio/coop M-runtime Module: tokio/runtime R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR R-loom-multi-thread-alt Run loom multi-thread alt tests on this PR R-loom-sync Run loom sync tests on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants