mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
@@ -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