Open maswadkar opened 2 years ago
You could try to set t_pause()
in my_types.h
to blank similar to what is done for __ANDROID__
.
https://github.com/dshawul/Scorpio/blob/master/src/my_types.h#L175-L185
#if defined _WIN32
# define t_pause() YieldProcessor()
# define t_sleep(x) Sleep(x)
#else
# define t_sleep(x) usleep((x) * 1000)
#if defined __ANDROID__
# define t_pause()
#else
# define t_pause() asm volatile("pause\n": : :"memory")
#endif
#endif