mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
11 lines
259 B
C++
11 lines
259 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
/** Sets the thread name (maximum length is 15 bytes),
|
|
* which will be visible in ps, gdb, /proc,
|
|
* for convenience of observation and debugging.
|
|
*/
|
|
void setThreadName(const char * name);
|
|
|
|
const char * getThreadName();
|