Rendezvous stream for synchronous channel messaging#8908
Closed
tikue wants to merge 1 commit intorust-lang:masterfrom
Closed
Rendezvous stream for synchronous channel messaging#8908tikue wants to merge 1 commit intorust-lang:masterfrom
tikue wants to merge 1 commit intorust-lang:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
rendezvous is nice, but it seems peculiar to mismatch the names of the types of the port/chan. Maybe it could be sync_stream?
Contributor
There was a problem hiding this comment.
I recommended the name rendezvous because it comes from a plan 9 synchronization primitive that does exactly the same thing. Plus (imo) it does suggest the functionality, as the sender and receiver are "rendezvousing" on the sent data.
Contributor
There was a problem hiding this comment.
(it's also the name of the ada primitive which also does the same thing)
Contributor
There was a problem hiding this comment.
Ok; rendezvous is fine by me, I was just curious about the mismatch.
Contributor
Author
|
Ready for retry @anasazi |
Contributor
Author
Contributor
|
yep. bsd is rather unstable at the moment. |
bors
added a commit
that referenced
this pull request
Sep 12, 2013
SyncChan blocks after sending a message until the SyncPort acknowledges receipt of the message.
Contributor
|
Finally. |
Contributor
Author
|
You guys rock. |
flip1995
pushed a commit
to flip1995/rust
that referenced
this pull request
Jun 4, 2022
Make docs more consistent changelog: none This just fixes some docs to make them more consistent. I mostly just changed `// Good`, `// Bad`, etc to `Use instead:`.
flip1995
pushed a commit
to flip1995/rust
that referenced
this pull request
Jun 16, 2022
Improve lint doc consistency changelog: none This is a continuation of rust-lang#8908. Notable changes: - Removed empty `Known Problems` sections - Removed "Good"/"Bad" language (replaced with "Use instead") - Removed (and added some 😄) duplication - Ignored the [`create_dir`] example so it doesn't create `clippy_lints/foo` 😄
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SyncChan blocks after sending a message until the SyncPort acknowledges receipt of the message.