We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87ba473 + 6f715aa commit 3e7c798Copy full SHA for 3e7c798
src/shims/yield.c
@@ -36,7 +36,7 @@ void *
36
_dispatch_wait_for_enqueuer(void **ptr)
37
{
38
#if !DISPATCH_HW_CONFIG_UP
39
-#if defined(__arm__) || defined(__arm64__)
+#if (defined(__arm__) && defined(__APPLE__)) || defined(__arm64__)
40
int spins = DISPATCH_WAIT_SPINS_WFE;
41
void *value;
42
while (unlikely(spins-- > 0)) {
0 commit comments