summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2021-10-22 21:51:44 -0400
committerNat Goodspeed <nat@lindenlab.com>2021-10-22 21:51:44 -0400
commitd2763897f22e3d7789f97fe68000662ecd4a3548 (patch)
treeeee66d1efa80466bb3f672728cbffaf17329e134 /indra/llcommon
parent14dae8bc8ee55fdd027c7232e3dbcf7b7eedd3cc (diff)
SL-16220: Fix thread name expression.
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/threadpool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/threadpool.cpp b/indra/llcommon/threadpool.cpp
index aa7d4179a2..1899f9a20a 100644
--- a/indra/llcommon/threadpool.cpp
+++ b/indra/llcommon/threadpool.cpp
@@ -27,7 +27,7 @@ LL::ThreadPool::ThreadPool(const std::string& name, size_t threads):
{
for (size_t i = 0; i < threads; ++i)
{
- std::string tname{ STRINGIZE(mName << ':' << (i+i) << '/' << threads) };
+ std::string tname{ STRINGIZE(mName << ':' << (i+1) << '/' << threads) };
mThreads.emplace_back(tname, [this, tname](){ run(tname); });
}
// Listen on "LLApp", and when the app is shutting down, close the queue