add thread name (is this used though?)

master
Beq 2021-11-03 19:37:17 +00:00
parent b36372bb5e
commit 1fb8e1bc88
1 changed files with 5 additions and 0 deletions

View File

@ -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
// <FS:Beq> - Add threadnames
LL_INFOS("THREAD") << "Started unnamed HTTP thread " << LL_ENDL;
FSThreadName( "HTTP" );
// </FS:Beq>
// Take out additional reference for the at_exit handler
addRef();