Function cras::setThreadName

Function Documentation

void cras::setThreadName(const std::string &name)

Set the OS name of the current thread.

Note

The name will be automatically shortened to be 15 chars max.

Note

This function is actually pretty fast. It can be called more than 1 million times per second.

Parameters:

name[in] The name to set.