mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
@@ -9,7 +9,6 @@
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <thread>
|
||||
#include <pthread.h>
|
||||
#include <memory>
|
||||
|
||||
#include <boost/asio.hpp>
|
||||
@@ -1313,7 +1312,8 @@ namespace http {
|
||||
|
||||
void HTTPServer::Run ()
|
||||
{
|
||||
pthread_setname_np(pthread_self(), "Webconsole");
|
||||
i2p::util::SetThreadName("Webconsole");
|
||||
|
||||
while (m_IsRunning)
|
||||
{
|
||||
try
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include <boost/date_time/posix_time/posix_time.hpp>
|
||||
#include <boost/property_tree/ini_parser.hpp>
|
||||
#include <boost/property_tree/json_parser.hpp>
|
||||
#include <pthread.h>
|
||||
|
||||
#include "Crypto.h"
|
||||
#include "FS.h"
|
||||
@@ -132,7 +131,8 @@ namespace client
|
||||
|
||||
void I2PControlService::Run ()
|
||||
{
|
||||
pthread_setname_np(pthread_self(), "I2PC");
|
||||
i2p::util::SetThreadName("I2PC");
|
||||
|
||||
while (m_IsRunning)
|
||||
{
|
||||
try {
|
||||
|
||||
@@ -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