std::jthread::get_stop_source
提供: cppreference.com
<tbody>
</tbody>
std::stop_source get_stop_source() const noexcept; |
(C++20以上) | |
この jthread オブジェクトが内部的に保持しているのと同じ共有された停止状態に紐付く std::stop_source を返します。
引数
(なし)
戻り値
jthread オブジェクトが内部的に保持している停止状態に紐付く std::stop_source 型の値。
例
| This section is incomplete Reason: no example |