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

Relax the error locking in collecting results #470

Merged
merged 1 commit into from Nov 14, 2017

Conversation

Projects
None yet
1 participant
@cuviper
Copy link
Member

cuviper commented Nov 13, 2017

We don't need a blocking lock(), as anybody else holding the lock will
also be writing Some(error), and then the current error is irrelevant.

Relax the error locking in collecting results
We don't need a blocking `lock()`, as anybody else holding the lock will
also be writing `Some(error)`, and then the current error is irrelevant.
@cuviper

This comment has been minimized.

Copy link
Member Author

cuviper commented Nov 14, 2017

bors r+

bors bot added a commit that referenced this pull request Nov 14, 2017

Merge #470
470: Relax the error locking in collecting results r=cuviper a=cuviper

We don't need a blocking `lock()`, as anybody else holding the lock will
also be writing `Some(error)`, and then the current error is irrelevant.
@bors

This comment has been minimized.

Copy link
Contributor

bors bot commented Nov 14, 2017

@bors bors bot merged commit 3c3d985 into rayon-rs:master Nov 14, 2017

2 checks passed

bors Build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@cuviper cuviper deleted the cuviper:relaxed-result-lock branch Oct 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.