Skip to content

Commit 46a752e

Browse files
authored
Merge pull request #41986 from apple/rokhinip/90724683-disable-actor-priority-escalation-on-arm64-32
Disable Actor priority escalation support on arm64_32
2 parents fd359d7 + cea9de7 commit 46a752e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,12 @@ class JobRef {
529529
}
530530
};
531531

532+
/// TODO (rokhinip): The layout of the ActiveActorStatus seems to be broken in
533+
/// arm64_32 with priority escalation support, disable this for now.
534+
#if SWIFT_CONCURRENCY_ENABLE_PRIORITY_ESCALATION && SWIFT_POINTER_IS_4_BYTES
535+
#define SWIFT_CONCURRENCY_ENABLE_PRIORITY_ESCALATION 0
536+
#endif
537+
532538
/// Similar to the ActiveTaskStatus, this denotes the ActiveActorState for
533539
/// tracking the atomic state of the actor
534540
///

0 commit comments

Comments
 (0)