This commit is contained in:
Jeff Hutchinson 2021-05-10 16:15:45 -04:00
parent e981fd2cc3
commit 61fef8080b
3 changed files with 31 additions and 6 deletions

View file

@ -136,7 +136,7 @@ void tc_spinloop()
#elif defined( _WIN64 )
YieldProcessor( );
#elif (defined( __arm64__ ) && defined( __APPLE__ )) || defined( __arch64__ )
asm( "yield" );
pthread_yield_np();
#else
__asm { pause };
#endif