@@ -1,7 +1,6 @@
|
||||
#ifdef USE_UPNP
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <pthread.h>
|
||||
|
||||
#include <boost/thread/thread.hpp>
|
||||
#include <boost/asio.hpp>
|
||||
@@ -61,7 +60,8 @@ namespace transport
|
||||
|
||||
void UPnP::Run ()
|
||||
{
|
||||
pthread_setname_np(pthread_self(), "UPnP");
|
||||
i2p::util::SetThreadName("UPnP");
|
||||
|
||||
while (m_IsRunning)
|
||||
{
|
||||
try
|
||||
|
Reference in New Issue
Block a user