diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2019-08-14 03:26:54 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2019-08-14 03:27:01 +0300 |
commit | 3996516fcebdf76e2171a8fef7863f2a7e071e94 (patch) | |
tree | f446d94da0f2f4c9dcfe976ef01c1730d52d1870 /server/TracyWorker.cpp | |
parent | 92b6da7cc2a0f8e6d8f6452774957b4f13877089 (diff) |
One more SetThreadName() to change.
Diffstat (limited to 'server/TracyWorker.cpp')
-rw-r--r-- | server/TracyWorker.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 03ad19a4..96b12f54 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -263,8 +263,7 @@ Worker::Worker( const char* addr ) m_data.sourceLocationZonesReady = true; #endif - m_thread = std::thread( [this] { Exec(); } ); - SetThreadName( m_thread, "Tracy Worker" ); + m_thread = std::thread( [this] { SetThreadName( "Tracy Worker" ); Exec(); } ); } Worker::Worker( FileRead& f, EventType::Type eventMask ) |