We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5979be commit 24808faCopy full SHA for 24808fa
src/libstd/sync/rwlock.rs
@@ -24,6 +24,10 @@ use sys_common::rwlock as sys;
24
/// of the underlying data (exclusive access) and the read portion of this lock
25
/// typically allows for read-only access (shared access).
26
///
27
+/// The priority policy of the lock is dependent on the underlying operating
28
+/// system's implementation, and this type does not guarantee that any
29
+/// particular policy will be used.
30
+///
31
/// The type parameter `T` represents the data that this lock protects. It is
32
/// required that `T` satisfies `Send` to be shared across threads and `Sync` to
33
/// allow concurrent access through readers. The RAII guards returned from the
0 commit comments