std::stop_source get_stop_source() noexcept; | (since C++20) |
Returns a std::stop_source
associated with the same shared stop-state as held internally by the jthread
object.
(none).
A value of type std::stop_source
associated with stop-state held internally by jthread
object.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/thread/jthread/get_stop_source