Skip to content

Commit

Permalink
Add priority policy to RWLock API Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
webmobster authored and webmobster-zz committed Jun 3, 2015
1 parent a5979be commit 24808fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libstd/sync/rwlock.rs
Expand Up @@ -24,6 +24,10 @@ use sys_common::rwlock as sys;
/// of the underlying data (exclusive access) and the read portion of this lock
/// typically allows for read-only access (shared access).
///
/// 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.
///
/// The type parameter `T` represents the data that this lock protects. It is
/// required that `T` satisfies `Send` to be shared across threads and `Sync` to
/// allow concurrent access through readers. The RAII guards returned from the
Expand Down

0 comments on commit 24808fa

Please sign in to comment.