Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upIntroduction concurrent examples aren't actually concurrent #23202
Conversation
shepmaster
added some commits
Mar 8, 2015
rust-highfive
assigned
brson
Mar 8, 2015
This comment has been minimized.
This comment has been minimized.
rust-highfive
assigned
steveklabnik
and unassigned
brson
Mar 8, 2015
This comment has been minimized.
This comment has been minimized.
|
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@bors: rollup |
Manishearth
added a commit
to Manishearth/rust
that referenced
this pull request
Mar 9, 2015
Manishearth
added a commit
to Manishearth/rust
that referenced
this pull request
Mar 9, 2015
bors
merged commit b426a24
into
rust-lang:master
Mar 9, 2015
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
shepmaster
deleted the
shepmaster:intro-threads-not-concurrent
branch
Mar 9, 2015
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.
shepmaster commentedMar 8, 2015
If we end the
scopedcall with a semicolon, theJoinGuardwill bedropped and not returned from the
map. The thread will start up andwe immediately block, making for a very expensive sequential loop.