Commit 81e94051 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[DOC] added info about names of threads on linux

parent 0e0f8457
......@@ -344,6 +344,7 @@ void WModule::ready()
void WModule::threadMain()
{
#ifdef __linux__
// set the name of the thread. This name is shown by the "top", for example.
prctl( PR_SET_NAME, ( "walnut (" + getName() + ")" ).c_str() );
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment