diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2021-10-22 21:51:44 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2021-10-22 21:51:44 -0400 |
commit | d2763897f22e3d7789f97fe68000662ecd4a3548 (patch) | |
tree | eee66d1efa80466bb3f672728cbffaf17329e134 /indra/llcommon | |
parent | 14dae8bc8ee55fdd027c7232e3dbcf7b7eedd3cc (diff) |
SL-16220: Fix thread name expression.
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/threadpool.cpp | 2 |
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 |