Skip to content

Conversation

@Amanieu
Copy link
Member

@Amanieu Amanieu commented Aug 5, 2016

pthread_rwlock_rdlock may return EAGAIN if the maximum reader count overflows. We shouldn't return a successful lock in that case.

@rust-highfive
Copy link
Contributor

r? @brson

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

@alexcrichton
Copy link
Member

@bors: r+ dff62c1

@bors
Copy link
Collaborator

bors commented Aug 7, 2016

⌛ Testing commit dff62c1 with merge 877dfeb...

bors added a commit that referenced this pull request Aug 7, 2016
Handle RwLock reader count overflow

`pthread_rwlock_rdlock` may return `EAGAIN` if the maximum reader count overflows. We shouldn't return a successful lock in that case.
@bors bors merged commit dff62c1 into rust-lang:master Aug 7, 2016
@brson brson added the relnotes Marks issues that should be documented in the release notes of the next release. label Aug 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

relnotes Marks issues that should be documented in the release notes of the next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants