From bc23c2f7b909ffef1d4de6635bcddbac3b6b5801 Mon Sep 17 00:00:00 2001 From: sehraf Date: Wed, 1 Jun 2016 16:33:13 +0200 Subject: [PATCH] add thread names for peers --- libretroshare/src/pqi/pqiperson.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/pqi/pqiperson.cc b/libretroshare/src/pqi/pqiperson.cc index efd78afb9..5bfe49b8f 100644 --- a/libretroshare/src/pqi/pqiperson.cc +++ b/libretroshare/src/pqi/pqiperson.cc @@ -347,7 +347,8 @@ int pqiperson::handleNotifyEvent_locked(NetInterface *ni, int newState, activepqi = pqi; inConnectAttempt = false; - activepqi->start(); // STARTUP THREAD. + // STARTUP THREAD + activepqi->start("pqi " + PeerId().toStdString().substr(0, 11)); // reset all other children (clear up long UDP attempt) for(it = kids.begin(); it != kids.end(); ++it)