tmp/tmprrm1sdhe/{from.md → to.md}
RENAMED
|
@@ -8,14 +8,14 @@ void swap(unique_lock& u) noexcept;
|
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
mutex_type* release() noexcept;
|
| 11 |
```
|
| 12 |
|
| 13 |
-
*Returns:* The previous value of `pm`.
|
| 14 |
-
|
| 15 |
*Ensures:* `pm == 0` and `owns == false`.
|
| 16 |
|
|
|
|
|
|
|
| 17 |
``` cpp
|
| 18 |
template<class Mutex>
|
| 19 |
void swap(unique_lock<Mutex>& x, unique_lock<Mutex>& y) noexcept;
|
| 20 |
```
|
| 21 |
|
|
|
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
mutex_type* release() noexcept;
|
| 11 |
```
|
| 12 |
|
|
|
|
|
|
|
| 13 |
*Ensures:* `pm == 0` and `owns == false`.
|
| 14 |
|
| 15 |
+
*Returns:* The previous value of `pm`.
|
| 16 |
+
|
| 17 |
``` cpp
|
| 18 |
template<class Mutex>
|
| 19 |
void swap(unique_lock<Mutex>& x, unique_lock<Mutex>& y) noexcept;
|
| 20 |
```
|
| 21 |
|