35 pthread_setname_np(pthread_self(), name);
Dynamic string implementation.
thread_local char o2s_thread_name[8]
Thread name, used when logging.
void o2s_thread_set_name(const char *name)
Sets both the O2S thread name and the POSIX thread name (/proc/self/task/tid/comm).
Thread-specific global and its setter.