carb::thread::getName

Defined in carb/thread/Util.h

inline std::string carb::thread::getName(NativeHandleType h)

Retrieves the name of the thread previously set with setName().

Note

The length of the name is limited by the system.

Parameters

h – The native handle to the thread.

Returns

The name of the thread.