diff options
| author | bors <bors@rust-lang.org> | 2015-06-04 08:42:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-06-04 08:42:22 +0000 |
| commit | 0aeb9f6f08c353c71d962d5cc7a231e73040ca3c (patch) | |
| tree | 37ac7efa631a9ffd2a32c330b3223135d3c711fc /src/libstd/sync | |
| parent | 80d08a37b6215a59ecce042f36ad446c5357b543 (diff) | |
| parent | fd3b6ca508ed99004a11291ef1d2c64104102a41 (diff) | |
| download | rust-0aeb9f6f08c353c71d962d5cc7a231e73040ca3c.tar.gz rust-0aeb9f6f08c353c71d962d5cc7a231e73040ca3c.zip | |
Auto merge of #26002 - Manishearth:rollup, r=Manishearth
- Successful merges: #25900, #25987, #25988, #25990, #25994, #26000 - Failed merges:
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/rwlock.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstd/sync/rwlock.rs b/src/libstd/sync/rwlock.rs index e7c3d744c17..857d8889b7c 100644 --- a/src/libstd/sync/rwlock.rs +++ b/src/libstd/sync/rwlock.rs @@ -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 |
