mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
set useful thread names for all spawned threads
This commit is contained in:
@@ -108,6 +108,7 @@
|
||||
#include <poll.h>
|
||||
#include <sys/types.h>
|
||||
#include <driver/audioplay.h>
|
||||
#include <system/set_threadname.h>
|
||||
/*
|
||||
TODO:
|
||||
- ICECAST support
|
||||
@@ -1603,6 +1604,7 @@ void CacheFillThread(void *c)
|
||||
if(scache->closed)
|
||||
return;
|
||||
|
||||
set_threadname("netfile:cache");
|
||||
dprintf(stderr, "CacheFillThread: thread started, using stream %p\n", scache->fd);
|
||||
|
||||
buf = (char*)malloc(CACHEBTRANS);
|
||||
|
Reference in New Issue
Block a user