mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 20:33:52 +00:00
No need for sleep, Accept() already sleeps.
This commit is contained in:
parent
8747da8e2c
commit
8fb8e4f792
@ -82,7 +82,6 @@ void Profiler::Worker()
|
|||||||
if( m_shutdown.load( std::memory_order_relaxed ) ) return;
|
if( m_shutdown.load( std::memory_order_relaxed ) ) return;
|
||||||
sock = listen.Accept();
|
sock = listen.Accept();
|
||||||
if( sock ) break;
|
if( sock ) break;
|
||||||
std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sock->Send( &m_timeBegin, sizeof( m_timeBegin ) );
|
sock->Send( &m_timeBegin, sizeof( m_timeBegin ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user