One more SetThreadName() to change.

This commit is contained in:
Bartosz Taudul 2019-08-14 02:26:54 +02:00
parent 92b6da7cc2
commit 3996516fce

View File

@ -263,8 +263,7 @@ Worker::Worker( const char* addr )
m_data.sourceLocationZonesReady = true; m_data.sourceLocationZonesReady = true;
#endif #endif
m_thread = std::thread( [this] { Exec(); } ); m_thread = std::thread( [this] { SetThreadName( "Tracy Worker" ); Exec(); } );
SetThreadName( m_thread, "Tracy Worker" );
} }
Worker::Worker( FileRead& f, EventType::Type eventMask ) Worker::Worker( FileRead& f, EventType::Type eventMask )