@@ -10,7 +10,6 @@
|
||||
#include "I2PEndian.h"
|
||||
#include <random>
|
||||
#include <thread>
|
||||
#include <pthread.h>
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
#include "Crypto.h"
|
||||
@@ -23,6 +22,7 @@
|
||||
#include "Config.h"
|
||||
#include "Tunnel.h"
|
||||
#include "TunnelPool.h"
|
||||
#include "util.h"
|
||||
|
||||
namespace i2p
|
||||
{
|
||||
@@ -473,7 +473,7 @@ namespace tunnel
|
||||
|
||||
void Tunnels::Run ()
|
||||
{
|
||||
pthread_setname_np(pthread_self(), "Tunnels");
|
||||
i2p::util::SetThreadName("Tunnels");
|
||||
std::this_thread::sleep_for (std::chrono::seconds(1)); // wait for other parts are ready
|
||||
|
||||
uint64_t lastTs = 0, lastPoolsTs = 0;
|
||||
|
Reference in New Issue
Block a user