HPX - High Performance ParalleX

PrevUpHomeNext

Function get_thread_name

hpx::get_thread_name — Return the name of the calling thread.

Synopsis

// In header: <hpx/hpx_fwd.hpp>


std::string get_thread_name();

Description

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>".


PrevUpHomeNext