class jthread
Declaration
class jthread { /* full declaration omitted */ };Declared at: libs/pika/threading/include/pika/threading/jthread.hpp:20
Method Overview
- public void detach()
- public pika::jthread::id get_id() const noexcept
- public pika::stop_source get_stop_source() noexcept
- public pika::stop_token get_stop_token() const noexcept
- public static unsigned int hardware_concurrency()
- public void join()
- public bool joinable() const noexcept
- public jthread() noexcept
- public jthread(const pika::jthread &)
- public jthread(pika::jthread && x) noexcept
- public template <typename F, typename... Ts, typename Enable = typename std::enable_if<!std::is_same<typename std::decay<F>::type, jthread>::value>::type> jthread(F && f, Ts &&... ts)
- public pika::jthread::native_handle_type native_handle()
- public bool request_stop() noexcept
- public void swap(pika::jthread & t) noexcept
- public ~jthread()
Methods
void detach()
void detach()Declared at: libs/pika/threading/include/pika/threading/jthread.hpp:212
pika::jthread::id get_id() const noexcept
pika::jthread::id get_id() const noexceptDeclared at: libs/pika/threading/include/pika/threading/jthread.hpp:220
pika::stop_source get_stop_source() noexcept
pika::stop_source get_stop_source() noexceptDeclared at: libs/pika/threading/include/pika/threading/jthread.hpp:235
pika::stop_token get_stop_token() const noexcept
pika::stop_token get_stop_token() const noexceptDeclared at: libs/pika/threading/include/pika/threading/jthread.hpp:241
static unsigned int hardware_concurrency()
static unsigned int hardware_concurrency()Declared at: libs/pika/threading/include/pika/threading/jthread.hpp:255
void join()
void join()Declared at: libs/pika/threading/include/pika/threading/jthread.hpp:193
bool joinable() const noexcept
bool joinable() const noexceptDeclared at: libs/pika/threading/include/pika/threading/jthread.hpp:171
jthread() noexcept
jthread() noexceptDeclared at: libs/pika/threading/include/pika/threading/jthread.hpp:51
jthread(const pika::jthread&)
jthread(const pika::jthread&)Declared at: libs/pika/threading/include/pika/threading/jthread.hpp:135
Parameters
- const pika::jthread&
jthread(pika::jthread&& x) noexcept
jthread(pika::jthread&& x) noexceptDeclared at: libs/pika/threading/include/pika/threading/jthread.hpp:145
Parameters
- pika::jthread&& x
template <
typename F,
typename... Ts,
typename Enable =
typename std::enable_if<!std::is_same<
typename std::decay<F>::type,
jthread>::value>::type>
jthread(F&& f, Ts&&... ts)
template <
typename F,
typename... Ts,
typename Enable =
typename std::enable_if<!std::is_same<
typename std::decay<F>::type,
jthread>::value>::type>
jthread(F&& f, Ts&&... ts)Declared at: libs/pika/threading/include/pika/threading/jthread.hpp:105
Parameters
- F&& f
- Ts&&... ts
pika::jthread::native_handle_type native_handle()
pika::jthread::native_handle_type native_handle()Declared at: libs/pika/threading/include/pika/threading/jthread.hpp:227
bool request_stop() noexcept
bool request_stop() noexceptDeclared at: libs/pika/threading/include/pika/threading/jthread.hpp:247
void swap(pika::jthread& t) noexcept
void swap(pika::jthread& t) noexceptDeclared at: libs/pika/threading/include/pika/threading/jthread.hpp:164
Parameters
~jthread()
~jthread()Declared at: libs/pika/threading/include/pika/threading/jthread.hpp:125