mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Add support for aarch64 / apple silicon
This commit is contained in:
parent
ce79101cb3
commit
e981fd2cc3
8 changed files with 20 additions and 5 deletions
|
|
@ -135,6 +135,8 @@ void tc_spinloop()
|
|||
// Pause would do nothing on the Xbox. Threads are not scheduled.
|
||||
#elif defined( _WIN64 )
|
||||
YieldProcessor( );
|
||||
#elif (defined( __arm64__ ) && defined( __APPLE__ )) || defined( __arch64__ )
|
||||
asm( "yield" );
|
||||
#else
|
||||
__asm { pause };
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue