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:
@@ -118,7 +118,7 @@ CWebserver::~CWebserver() {
|
||||
#define MAX_TIMEOUTS_TO_CLOSE 10
|
||||
#define MAX_TIMEOUTS_TO_TEST 100
|
||||
bool CWebserver::run(void) {
|
||||
set_threadname(__func__);
|
||||
set_threadname("ywebsrv::run");
|
||||
if (!listenSocket.listen(port, HTTPD_MAX_CONNECTIONS)) {
|
||||
if (port != 80) {
|
||||
fprintf(stderr, "[yhttpd] Socket cannot bind and listen on port %d Abort.\n", port);
|
||||
|
Reference in New Issue
Block a user