Name worker threads.

This commit is contained in:
Bartosz Taudul
2023-03-25 22:14:34 +01:00
parent 5eebc5d7cf
commit 33a640f848
4 changed files with 14 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ TimelineController::TimelineController( View& view, Worker& worker )
#ifdef __EMSCRIPTEN__
, m_td( 1 )
#else
, m_td( std::max( 1u, std::thread::hardware_concurrency() - 2 ) )
, m_td( std::max( 1u, std::thread::hardware_concurrency() - 2 ), "Render" )
#endif
{
}