about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-06 13:22:17 +0200
committerGitHub <noreply@github.com>2020-05-06 13:22:17 +0200
commite4bda619d549df918795d04b0c7f1c211196b474 (patch)
tree60780f7b301f03e4914494aa54eb73d37648fc3c /src/test/codegen/src-hash-algorithm
parent3f56b84182dfa9aea0cd60d6be26e840ca5e210e (diff)
parentf9866f95afad4ea97b975631c6016aa951fd4f83 (diff)
downloadrust-e4bda619d549df918795d04b0c7f1c211196b474.tar.gz
rust-e4bda619d549df918795d04b0c7f1c211196b474.zip
Rollup merge of #71889 - RalfJung:rwlock, r=Amanieu
Explain our RwLock implementation

Turns out that [with the latest POSIX docs](https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_wrlock.html), our `RwLock` implementation is actually correct. However, we cannot fully rely on that due to bugs in older glibc (fix released in 2016). Update the comments to explain that.

I also clarified our Mutex docs a bit and fixed another instance of https://github.com/rust-lang/rust/pull/55865.

r? @Amanieu
Fixes https://github.com/rust-lang/rust/issues/53127
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions