carb::thread::setName

Defined in carb/thread/Util.h

inline void carb::thread::setName(NativeHandleType h, const char *name)

Sets the name of the given thread.

Note

The length of the name is limited by the system.

Note

On Mac OS, it is not possible to name a thread that is not the current executing thread.

Parameters
  • h – The native handle to the thread.

  • name – The desired name for the thread.