hpx::get_thread_name

hpx::get_thread_name#

Defined in header hpx/runtime.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

std::string hpx::get_thread_name()#

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 HPX. If the function is called while no HPX runtime system is active, the result will be “<unknown>”.