Skip to content

std: Use join() in Process::wait_with_output #29897

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

Merged
merged 1 commit into from
Nov 18, 2015

Conversation

alexcrichton
Copy link
Member

Previously this function used channels but this isn't necessary any more now
that threads have return values. This also has the added bonus of appropriately
waiting for the thread to exit to ensure that the function doesn't still have
running threads once it returns.

Previously this function used channels but this isn't necessary any more now
that threads have return values. This also has the added bonus of appropriately
waiting for the thread to exit to ensure that the function doesn't still have
running threads once it returns.
@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@brson
Copy link
Contributor

brson commented Nov 17, 2015

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 17, 2015

📌 Commit 3335366 has been approved by brson

@bors
Copy link
Collaborator

bors commented Nov 18, 2015

⌛ Testing commit 3335366 with merge 8ed8679...

bors added a commit that referenced this pull request Nov 18, 2015
Previously this function used channels but this isn't necessary any more now
that threads have return values. This also has the added bonus of appropriately
waiting for the thread to exit to ensure that the function doesn't still have
running threads once it returns.
@bors bors merged commit 3335366 into rust-lang:master Nov 18, 2015
@alexcrichton alexcrichton deleted the process-wait-with-output branch January 21, 2016 01:31
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.

4 participants