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

Selecting from multiple ports #1847

Closed
wants to merge 4 commits into from
Closed

Selecting from multiple ports #1847

wants to merge 4 commits into from

Conversation

brson
Copy link
Contributor

@brson brson commented Feb 15, 2012

This adds a function to the runtime that selects the next port with available messages from an arbitrary list of ports. In Rust it's rather harder to type an arbitrary list of ports, but this does add a comm::select2 function to receive from 2 ports. That's enough to enable a number of useful scenarios.

Once we have task local data it will allow us to hide a control port in the task and move things like linked failure and notifications out of the runtime and into core.

@brson brson closed this Feb 16, 2012
celinval added a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
…ust-lang#1847)

We can't really handle caching compilation artifacts today. So we are going to perform a cargo clean before building the goto program. I also changed our target to use the kani subfolder inside target.
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.

1 participant