summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpservice.cpp
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-11-02 01:05:40 -0500
committerRye <rye@alchemyviewer.org>2025-11-02 21:40:05 -0500
commit76837f96554a683462bb9a28457b7b0d9c078bff (patch)
tree1295b5a3866e0b00c0ba5d5590356534be1fcbae /indra/llcorehttp/_httpservice.cpp
parentd2e80039df1712734a6e3b0d811d73f850345157 (diff)
Fix support for setting thread names on linux and macos
Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/llcorehttp/_httpservice.cpp')
-rw-r--r--indra/llcorehttp/_httpservice.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llcorehttp/_httpservice.cpp b/indra/llcorehttp/_httpservice.cpp
index 5880fb7e87..03a2eab8e3 100644
--- a/indra/llcorehttp/_httpservice.cpp
+++ b/indra/llcorehttp/_httpservice.cpp
@@ -283,12 +283,11 @@ void HttpService::shutdown()
// requested to stop.
void HttpService::threadRun(LLCoreInt::HttpThread * thread)
{
+ set_thread_name("HttpService");
LL_PROFILER_SET_THREAD_NAME("HttpService");
boost::this_thread::disable_interruption di;
- LLThread::registerThreadID();
-
ELoopSpeed loop(REQUEST_SLEEP);
while (! mExitRequested)
{