mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
add naming to threads
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
e2fcab34b7
commit
36473e3889
13 changed files with 38 additions and 8 deletions
|
@ -11,6 +11,7 @@
|
|||
#include <vector>
|
||||
#include <boost/asio.hpp>
|
||||
#include <stdexcept>
|
||||
#include <pthread.h>
|
||||
|
||||
#include "I2PEndian.h"
|
||||
#include "Base.h"
|
||||
|
@ -88,6 +89,8 @@ namespace data
|
|||
|
||||
void NetDb::Run ()
|
||||
{
|
||||
pthread_setname_np(pthread_self(), "NetDB");
|
||||
|
||||
uint32_t lastSave = 0, lastPublish = 0, lastExploratory = 0, lastManageRequest = 0, lastDestinationCleanup = 0;
|
||||
while (m_IsRunning)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue