You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
clang format apply
This commit is contained in:
@ -20,15 +20,15 @@
|
||||
|
||||
namespace utils
|
||||
{
|
||||
void setThreadName(const char *threadName)
|
||||
{
|
||||
prctl(PR_SET_NAME, threadName, 0, 0, 0);
|
||||
}
|
||||
void setThreadName(const char* threadName)
|
||||
{
|
||||
prctl(PR_SET_NAME, threadName, 0, 0, 0);
|
||||
}
|
||||
|
||||
std::string getThreadName()
|
||||
{
|
||||
char buf[32];
|
||||
prctl(PR_GET_NAME, buf, 0, 0, 0);
|
||||
return std::string(buf);
|
||||
}
|
||||
} // end of namespace
|
||||
std::string getThreadName()
|
||||
{
|
||||
char buf[32];
|
||||
prctl(PR_GET_NAME, buf, 0, 0, 0);
|
||||
return std::string(buf);
|
||||
}
|
||||
} // namespace utils
|
||||
|
Reference in New Issue
Block a user