hpx/runtime_local/get_thread_name.hpp#

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

namespace hpx

Functions

std::string 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>”.