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;
#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 )