From 1fb8e1bc88ce65b5d58c61a0c4f80bb4ff33f186 Mon Sep 17 00:00:00 2001 From: Beq Date: Wed, 3 Nov 2021 19:37:17 +0000 Subject: [PATCH] add thread name (is this used though?) --- indra/llcorehttp/_thread.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/indra/llcorehttp/_thread.h b/indra/llcorehttp/_thread.h index 22b7750bad..b784adfa85 100644 --- a/indra/llcorehttp/_thread.h +++ b/indra/llcorehttp/_thread.h @@ -35,6 +35,7 @@ #include "apr.h" // thread-related functions #include "_refcounted.h" +#include "fstelemetry.h" namespace LLCoreInt { @@ -54,6 +55,10 @@ private: void run() { // THREAD CONTEXT + // - Add threadnames + LL_INFOS("THREAD") << "Started unnamed HTTP thread " << LL_ENDL; + FSThreadName( "HTTP" ); + // // Take out additional reference for the at_exit handler addRef();