tmp/tmpbqkg3y2h/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Member functions <a id="stopsource.inplace.mem">[[stopsource.inplace.mem]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
constexpr inplace_stop_token get_token() const noexcept;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Returns:* A new associated `inplace_stop_token` object whose
|
| 8 |
+
*stop-source* member is equal to `this`.
|
| 9 |
+
|
| 10 |
+
``` cpp
|
| 11 |
+
bool stop_requested() const noexcept;
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
*Returns:* `true` if the stop state inside `*this` has received a stop
|
| 15 |
+
request; otherwise, `false`.
|
| 16 |
+
|
| 17 |
+
``` cpp
|
| 18 |
+
bool request_stop() noexcept;
|
| 19 |
+
```
|
| 20 |
+
|
| 21 |
+
*Effects:* Executes a stop request operation [[stoptoken.concepts]].
|
| 22 |
+
|
| 23 |
+
*Ensures:* `stop_requested()` is `true`.
|
| 24 |
+
|