set useful thread names for all spawned threads

This commit is contained in:
Stefan Seyfried
2017-02-12 15:17:32 +01:00
parent cece5efac4
commit b9da7f01bf
15 changed files with 29 additions and 6 deletions

View File

@@ -37,6 +37,7 @@
#include <sys/timeb.h>
#include <time.h>
#include <unistd.h>
#include <system/set_threadname.h>
SHTDCNT::SHTDCNT()
@@ -68,6 +69,7 @@ SHTDCNT* SHTDCNT::getInstance()
void* SHTDCNT::TimeThread(void *)
{
set_threadname("n:shtdcnt");
while(1)
{
sleep(1);