Name Coroutine's in TSAN to make them identifiable

This commit is contained in:
Ian McInerney 2021-04-18 18:20:09 +01:00
parent f30c67a478
commit 7f00b97586
1 changed files with 2 additions and 0 deletions

View File

@ -393,6 +393,8 @@ private:
// Create a new fiber to go with the new context
m_callee.tsan_fiber = __tsan_create_fiber( 0 );
m_callee.own_tsan_fiber = true;
__tsan_set_fiber_name( m_callee.tsan_fiber, "Coroutine fiber" );
#endif
wxLogTrace( kicadTraceCoroutineStack, "COROUTINE::doCall" );