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

sync: expose strong and weak counts of mpsc sender handles #6405

Merged
merged 4 commits into from Mar 22, 2024

Conversation

maminrayej
Copy link
Member

Resolves #5880.

@github-actions github-actions bot added the R-loom-sync Run loom sync tests on this PR label Mar 16, 2024
@maminrayej maminrayej added A-tokio Area: The main tokio crate M-sync Module: tokio/sync R-loom-sync Run loom sync tests on this PR and removed R-loom-sync Run loom sync tests on this PR labels Mar 16, 2024
Copy link
Member

@mox692 mox692 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left just one comment, but I don't think it blocks the merge.

tokio/tests/sync_mpsc_weak.rs Show resolved Hide resolved
@maminrayej maminrayej merged commit 1846483 into master Mar 22, 2024
75 checks passed
@maminrayej maminrayej deleted the expose-strong-and-weak-counts branch March 22, 2024 19:55
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-sync Module: tokio/sync R-loom-sync Run loom sync tests on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add mpsc::Sender strong and weak counts, similar to Arc counts
3 participants