]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/sync/rwlock.rs
Update library/std/src/sync/rwlock.rs
[rust.git] / library / std / src / sync / rwlock.rs
index d967779ce361de0bf1da126434cf518a7d02963b..0298f59228cbeb45420d5a01673f3c32c54d6431 100644 (file)
@@ -23,7 +23,9 @@
 ///
 /// The priority policy of the lock is dependent on the underlying operating
 /// system's implementation, and this type does not guarantee that any
-/// particular policy will be used.
+/// particular policy will be used. In particular, a writer which is waiting to
+/// acquire the lock in `write` might or might not block concurrent calls to
+/// `read`.
 ///
 /// The type parameter `T` represents the data that this lock protects. It is
 /// required that `T` satisfies [`Send`] to be shared across threads and