move thread naming to util

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1595/head
R4SAS 4 years ago
parent 3100d4f902
commit 9a2c6a7619
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2

@ -748,7 +748,8 @@ namespace client
void AddressBookSubscription::CheckUpdates ()
{
pthread_setname_np(pthread_self(), "Addressbook");
i2p::util::SetThreadName("Addressbook");
bool result = MakeRequest ();
m_Book.DownloadComplete (result, m_Ident, m_Etag, m_LastModified);
}

Loading…
Cancel
Save