Add configure-time choice of either port/atomics.h or <stdatomic.h> for atomic operations

Edit
ID 7005
Title Add configure-time choice of either port/atomics.h or <stdatomic.h> for atomic operations
CI (CFBot) Needs rebase! Needs rebase since 2 hours. Failing since 2 hours.
Additional links previous successfully applied patch (outdated):
Stats (from CFBot) Unknown
Tags Modernization Refactoring Only
Created 2026-07-13 12:37:23
Last modified 2026-07-13 12:37:23 (2 hours ago)
Latest email 2026-03-23 14:24:51 (3 months ago)
Status
PG20-2 (2026-09-01 – 2026-09-30): Needs review
Target version 20
Authors Thomas Munro (macdice), Greg Burd (gregburd)
Reviewers Become reviewer
Committer
Links Git
Emails
Trying out <stdatomic.h>
First at 2025-11-10 13:17:31 by Thomas Munro <thomas.munro at gmail.com>
Latest at 2026-03-23 14:24:51 by "Greg Burd" <greg at burd.me>
Latest attachment (v20251123-0001-WIP-ARM64-MSVC-stdatomic.patch) at 2025-11-23 15:22:47 from Greg Burd <greg at burd.me>
    Attachment (v20251123-0001-WIP-ARM64-MSVC-stdatomic.patch) at 2025-11-23 15:22:47 from Greg Burd <greg at burd.me> (Patch: Yes)
    Attachment (v2-0001-ci-Use-Visual-Studio-2022-for-stdatomic.h.patch) at 2025-11-13 11:35:48 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Add-some-missing-include-limits.h.patch) at 2025-11-10 13:17:31 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
History
When Who What
2026-07-13 12:41:34 CFbot Patch needs rebase
2026-07-13 12:37:23 Greg Burd (gregburd) Attached mail thread CA+hUKGKFvu3zyvv3aaj5hHs9VtWcjFAmisOwOc7aOZNc5AF3NA@mail.gmail.com
2026-07-13 12:37:23 Greg Burd (gregburd) Created patch record
Edit