From: William Horvath william@horvath.blog
Otherwise, YieldProcessor() is a no-op. --- include/winnt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/winnt.h b/include/winnt.h index 0dae6a05b99..045919dc6d9 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -7386,7 +7386,7 @@ static FORCEINLINE unsigned char InterlockedCompareExchange128( volatile __int64
static FORCEINLINE void YieldProcessor(void) { -#ifdef __GNUC__ +#if defined(__GNUC__) || defined(__clang__) #if defined(__i386__) || defined(__x86_64__) __asm__ __volatile__( "rep; nop" : : : "memory" ); #elif defined(__arm__) || defined(__aarch64__)