thread_utils.h
Go to the documentation of this file.
1 #pragma once
2 
11 #include <string>
12 
13 namespace cras
14 {
15 
21 std::string getThreadName();
22 
29 void setThreadName(const std::string& name);
30 
31 }
cras::getThreadName
std::string getThreadName()
Get the OS name of the current thread.
cras
Definition: any.hpp:15
cras::setThreadName
void setThreadName(const std::string &name)
Set the OS name of the current thread.


cras_cpp_common
Author(s): Martin Pecka
autogenerated on Sun Jan 14 2024 03:48:14