about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-08-06 19:50:48 -0700
committerGitHub <noreply@github.com>2016-08-06 19:50:48 -0700
commit877dfeb572e330026fc4b4114f16a411c44dc328 (patch)
tree78b94cfcd3cbed7f5f70f75215ab47def6eab1b9 /src/libstd/sys/unix/stack_overflow.rs
parentddf92ffae4b8fc74474241f064f41f09db585ed8 (diff)
parentdff62c19cef2eb12fac3d15552a98886edcaba44 (diff)
downloadrust-877dfeb572e330026fc4b4114f16a411c44dc328.tar.gz
rust-877dfeb572e330026fc4b4114f16a411c44dc328.zip
Auto merge of #35378 - Amanieu:rwlock_eagain, r=alexcrichton
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.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions