Function email::utils::thread_get_name

Function Documentation

void email::utils::thread_get_name(char *name, size_t len)

Get the name of the current thread if the platform supports it.

The platform might have a minimum buffer length requirement (16 for Linux).

Parameters:
  • name – the buffer in which to write the name

  • len – the length of the buffer