From: bors Date: Sun, 7 Aug 2016 02:50:48 +0000 (-0700) Subject: Auto merge of #35378 - Amanieu:rwlock_eagain, r=alexcrichton X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=877dfeb572e330026fc4b4114f16a411c44dc328;p=rust.git 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. --- 877dfeb572e330026fc4b4114f16a411c44dc328