mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Initialize rpmalloc properly in symbol worker.
This commit is contained in:
parent
4416dff342
commit
9657bdec72
@ -3264,7 +3264,7 @@ void Profiler::SymbolWorker()
|
|||||||
ThreadExitHandler threadExitHandler;
|
ThreadExitHandler threadExitHandler;
|
||||||
SetThreadName( "Tracy Symbol Worker" );
|
SetThreadName( "Tracy Symbol Worker" );
|
||||||
#ifdef TRACY_USE_RPMALLOC
|
#ifdef TRACY_USE_RPMALLOC
|
||||||
rpmalloc_thread_initialize();
|
InitRpmalloc();
|
||||||
#endif
|
#endif
|
||||||
InitCallstack();
|
InitCallstack();
|
||||||
while( m_timeBegin.load( std::memory_order_relaxed ) == 0 ) std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) );
|
while( m_timeBegin.load( std::memory_order_relaxed ) == 0 ) std::this_thread::sleep_for( std::chrono::milliseconds( 10 ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user