Skip to content

Conversation

@mattiapitossi
Copy link
Contributor

Motivation

While trying to understand how the send for unbounded channel works, I wasn't sure why an unbounded channel never requires any form of waiting. I found a similar explanation in the sync's mod.rs that explains it well, so I was wondering if it's worth adding it also within the send docs.

Solution

Adds explanation on why an unbounded channel never requires any form of waiting.

@github-actions github-actions bot added the R-loom-sync Run loom sync tests on this PR label Oct 4, 2025
@ADD-SP ADD-SP added T-docs Topic: documentation A-tokio Area: The main tokio crate M-sync Module: tokio/sync and removed R-loom-sync Run loom sync tests on this PR labels Oct 5, 2025
@ADD-SP
Copy link
Member

ADD-SP commented Oct 5, 2025

Thanks!

@ADD-SP ADD-SP merged commit 1a4cf31 into tokio-rs:master Oct 5, 2025
96 checks passed
@Darksonn Darksonn mentioned this pull request Oct 14, 2025
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 T-docs Topic: documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants