std::size_t get_local_worker_thread_num()

Description

Return the number of the current OS-thread running in the current thread pool the current pika-thread is executed with.

//////////////////////////////////////////////////////////////////////// This function returns the zero based index of the OS-thread on the current thread pool which executes the current pika-thread.

Declared at: libs/pika/threading_base/include/pika/threading_base/thread_num_tss.hpp:87