member function
std::jthread::get_stop_token
- Header
<thread>- Scope
std::jthread- cppreference
- std::jthread::get_stop_token
Synopsis
[[nodiscard]] stop_token get_stop_token() const noexcept;member function
<thread>std::jthread[[nodiscard]] stop_token get_stop_token() const noexcept;