std::int64_t get_thread_count(
pika::threads::thread_priority priority,
pika::threads::thread_schedule_state state =
thread_schedule_state::unknown)
std::int64_t get_thread_count(
pika::threads::thread_priority priority,
pika::threads::thread_schedule_state state =
thread_schedule_state::unknown)Description
The function \areturns the number of currently known threads.
Declared at: libs/pika/runtime/include/pika/runtime/thread_pool_helpers.hpp:84
Parameters
- pika::threads::thread_priority priority
- [in] This specifies the thread-priority for which the number of threads should be retrieved.
- pika::threads::thread_schedule_state state = thread_schedule_state::unknown
- [in] This specifies the thread-state for which the number of threads should be retrieved.