Mercurial > hg > orthanc
changeset 6954:9e6a841aecc1 streaming
don't reuse twice the same threadname
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Wed, 17 Jun 2026 17:34:51 +0200 |
| parents | 07201dc3b5b8 |
| children | 2b7c43addced |
| files | OrthancFramework/Sources/MultiThreading/ThreadPool.cpp |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/MultiThreading/ThreadPool.cpp Wed Jun 17 10:37:44 2026 +0200 +++ b/OrthancFramework/Sources/MultiThreading/ThreadPool.cpp Wed Jun 17 17:34:51 2026 +0200 @@ -237,7 +237,7 @@ void ThreadPool::WorkerLoop(const std::string& threadName) { - Logging::SetCurrentThreadName(threadName); + Logging::ScopedThreadNameSetter setter(threadName); while (true) {
