ClickHouse/dbms/src/Common/setThreadName.h
2017-05-09 13:03:35 -04:00

8 lines
210 B
C++

#pragma once
/** 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);