Function cras::getThreadName

Function Documentation

std::string cras::getThreadName()

Get the OS name of the current thread.

Note

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

Returns:

Name of the thread (up to 15 characters).