Skip to content

std::thread docs: spawn() does not return a Thread anymore #33326

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 7, 2016

Conversation

birkenfeld
Copy link
Contributor

Also move the "Thread type" section down a bit, since it is not so important anymore.

Fixes: #33321

@rust-highfive
Copy link
Contributor

r? @alexcrichton

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

@retep998
Copy link
Member

retep998 commented May 2, 2016

But you can get a Thread from a spawned thread. Since spawn returns a JoinHandle you can easily call .thread() on that to get a Thread.

@birkenfeld
Copy link
Contributor Author

@retep998 you're right! I've updated the patch.

Also move the "Thread type" section down a bit, since it is
not so important anymore.

Fixes: rust-lang#33321
@GuillaumeGomez
Copy link
Member

Thanks for your work! Seems all good to me.

r=me @steveklabnik

@steveklabnik
Copy link
Member

@bors: r=GuillaumeGomez rollup

Agreed, thanks!

@bors
Copy link
Collaborator

bors commented May 2, 2016

📌 Commit eba43fb has been approved by GuillaumeGomez

steveklabnik added a commit to steveklabnik/rust that referenced this pull request May 2, 2016
…Gomez

std::thread docs: spawn() does not return a Thread anymore

Also move the "Thread type" section down a bit, since it is not so important anymore.

Fixes: rust-lang#33321
steveklabnik added a commit to steveklabnik/rust that referenced this pull request May 5, 2016
…Gomez

std::thread docs: spawn() does not return a Thread anymore

Also move the "Thread type" section down a bit, since it is not so important anymore.

Fixes: rust-lang#33321
steveklabnik added a commit to steveklabnik/rust that referenced this pull request May 5, 2016
…Gomez

std::thread docs: spawn() does not return a Thread anymore

Also move the "Thread type" section down a bit, since it is not so important anymore.

Fixes: rust-lang#33321
steveklabnik added a commit to steveklabnik/rust that referenced this pull request May 5, 2016
…Gomez

std::thread docs: spawn() does not return a Thread anymore

Also move the "Thread type" section down a bit, since it is not so important anymore.

Fixes: rust-lang#33321
steveklabnik added a commit to steveklabnik/rust that referenced this pull request May 6, 2016
…Gomez

std::thread docs: spawn() does not return a Thread anymore

Also move the "Thread type" section down a bit, since it is not so important anymore.

Fixes: rust-lang#33321
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request May 7, 2016
…Gomez

std::thread docs: spawn() does not return a Thread anymore

Also move the "Thread type" section down a bit, since it is not so important anymore.

Fixes: rust-lang#33321
steveklabnik added a commit to steveklabnik/rust that referenced this pull request May 7, 2016
…Gomez

std::thread docs: spawn() does not return a Thread anymore

Also move the "Thread type" section down a bit, since it is not so important anymore.

Fixes: rust-lang#33321
steveklabnik added a commit to steveklabnik/rust that referenced this pull request May 7, 2016
…Gomez

std::thread docs: spawn() does not return a Thread anymore

Also move the "Thread type" section down a bit, since it is not so important anymore.

Fixes: rust-lang#33321
bors added a commit that referenced this pull request May 7, 2016
@bors bors merged commit eba43fb into rust-lang:master May 7, 2016
@birkenfeld birkenfeld deleted the issue-33321 branch May 7, 2016 23:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants