std::string get_thread_name()

Description

Return the name of the calling thread.

//////////////////////////////////////////////////////////////////////// This function returns the name of the calling thread. This name uniquely identifies the thread in the context of pika. If the function is called while no pika runtime system is active, the result will be " <unknown >".

Declared at: libs/pika/runtime/include/pika/runtime/get_thread_name.hpp:23