pika::threads::thread_id_type get_self_id()
pika::threads::thread_id_type get_self_id()Description
The function \areturns the pika thread id of the current thread (or zero if the current thread is not a pika thread).
Declared at: libs/pika/threading_base/include/pika/threading_base/thread_data.hpp:680