mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-10-30 02:02:30 +00:00
Fixing ThreadNaming.
This commit is contained in:
@@ -105,7 +105,7 @@ void TCPServerDispatcher::run()
|
||||
std::cout << "Setting thread name: " << _pParams->getName() << std::endl;
|
||||
Poco::Thread::current()->setName(_pParams->getName());
|
||||
#ifdef __linux__
|
||||
Poco::Thread::current()->setName(pParams->getName());
|
||||
Poco::Thread::current()->setName(_pParams->getName());
|
||||
pthread_setname_np(pthread_self(), _pParams->getName().c_str());
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
|
||||
Reference in New Issue
Block a user