tmp/tmpls8g5aa0/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
##### `shared_lock` observers <a id="thread.lock.shared.obs">[[thread.lock.shared.obs]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
bool owns_lock() const noexcept;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Returns:* `owns`.
|
| 8 |
+
|
| 9 |
+
``` cpp
|
| 10 |
+
explicit operator bool () const noexcept;
|
| 11 |
+
```
|
| 12 |
+
|
| 13 |
+
*Returns:* `owns`.
|
| 14 |
+
|
| 15 |
+
``` cpp
|
| 16 |
+
mutex_type* mutex() const noexcept;
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
*Returns:* `pm`.
|
| 20 |
+
|