tmp/tmpmetzc_ym/{from.md → to.md}
RENAMED
|
@@ -1,11 +1,13 @@
|
|
| 1 |
### Class `stop_token` <a id="stoptoken">[[stoptoken]]</a>
|
| 2 |
|
|
|
|
|
|
|
| 3 |
The class `stop_token` provides an interface for querying whether a stop
|
| 4 |
request has been made (`stop_requested`) or can ever be made
|
| 5 |
-
(`stop_possible`) using an associated `stop_source` object
|
| 6 |
-
[[stopsource]]
|
| 7 |
[[stopcallback]] constructor to register a callback to be called when a
|
| 8 |
stop request has been made from an associated `stop_source`.
|
| 9 |
|
| 10 |
``` cpp
|
| 11 |
namespace std {
|
|
|
|
| 1 |
### Class `stop_token` <a id="stoptoken">[[stoptoken]]</a>
|
| 2 |
|
| 3 |
+
#### General <a id="stoptoken.general">[[stoptoken.general]]</a>
|
| 4 |
+
|
| 5 |
The class `stop_token` provides an interface for querying whether a stop
|
| 6 |
request has been made (`stop_requested`) or can ever be made
|
| 7 |
+
(`stop_possible`) using an associated `stop_source` object
|
| 8 |
+
[[stopsource]]. A `stop_token` can also be passed to a `stop_callback`
|
| 9 |
[[stopcallback]] constructor to register a callback to be called when a
|
| 10 |
stop request has been made from an associated `stop_source`.
|
| 11 |
|
| 12 |
``` cpp
|
| 13 |
namespace std {
|