Page MenuHomeFreeBSD

stdatomic: Only use clang atomics if __clang__ is defined
ClosedPublic

Authored by jhb on Jul 17 2024, 7:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 20, 3:16 AM
Unknown Object (File)
Fri, Sep 19, 6:18 AM
Unknown Object (File)
Thu, Sep 11, 11:16 PM
Unknown Object (File)
Thu, Sep 11, 6:17 PM
Unknown Object (File)
Thu, Sep 11, 6:19 AM
Unknown Object (File)
Sep 6 2025, 6:59 AM
Unknown Object (File)
Aug 26 2025, 3:30 PM
Unknown Object (File)
Aug 14 2025, 11:49 PM
Subscribers
None

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Jul 17 2024, 7:14 PM
jhb created this revision.

We likely don't need sync atomics given the scopeof where it would be needed... but im not sure.

This revision is now accepted and ready to land.Jul 17 2024, 7:55 PM

I think as part of your cleanup of cdefs.h, we can probably drop the pre-GCC 4.7 path entirely. We already don't support versions of GCC that old in cdefs.h now I think?