NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
ThreadNaming.cpp File Reference
#include <Util/ThreadNaming.hpp>
#include <cstdarg>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <unistd.h>
Include dependency graph for ThreadNaming.cpp:

Namespaces

 NES
 This exception represents a network error.
 

Functions

void NES::setThreadName (const char *threadNameFmt,...)
 Sets the calling thread's name using the supplied formattable string. For example, setThreadName("helper") will set the thread name to "helper", setThreadName("helper-%d", 123) will set the thread name to "helper-123". Be careful that on some operating systems, the length of the thread name is constrained, e.g., on Linux it is 16 characters. More...