mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
move thread naming to util
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
aace200899
commit
3100d4f902
12 changed files with 63 additions and 39 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue