We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b102e09 commit 0983568Copy full SHA for 0983568
Common/src/ThreadPool.cpp
@@ -55,12 +55,12 @@ class ThreadPoolImpl final : public ObjectBase<IThreadPool>
55
m_WorkerThreads.reserve(PoolCI.NumThreads);
56
for (Uint32 i = 0; i < PoolCI.NumThreads; ++i)
57
{
58
- std::string ThreadName = "Diligent::ThreadPool Worker " + std::to_string(i);
59
- PlatformMisc::SetCurrentThreadName(ThreadName.c_str());
60
-
61
m_WorkerThreads.emplace_back(
62
[this, PoolCI, i] //
63
+ const std::string ThreadName = "DG:TPW " + std::to_string(i);
+ PlatformMisc::SetCurrentThreadName(ThreadName.c_str());
+
64
if (PoolCI.OnThreadStarted)
65
PoolCI.OnThreadStarted(i);
66
0 commit comments