blob: 1834ea9696f0f43b4c5984416e0bc8a3df016d7f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#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();
|