Also collect information on local threads.

This commit is contained in:
Bartosz Taudul 2019-08-18 14:56:17 +02:00
parent 9a3974b8f1
commit 19857473e3

View File

@ -4213,11 +4213,7 @@ void Worker::ProcessContextSwitch( const QueueContextSwitch& ev )
cx.SetEnd( -1 ); cx.SetEnd( -1 );
cx.SetThread( ev.newThread ); cx.SetThread( ev.newThread );
// At this point that check is approximate
if( !IsThreadLocal( ev.newThread ) )
{
CheckExternalName( ev.newThread ); CheckExternalName( ev.newThread );
}
if( migration ) if( migration )
{ {