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, Nov 30, 8:26 PM
Unknown Object (File)
Fri, Nov 29, 2:40 PM
Unknown Object (File)
Mon, Nov 25, 9:51 PM
Unknown Object (File)
Sat, Nov 23, 5:52 AM
Unknown Object (File)
Thu, Nov 21, 4:34 PM
Unknown Object (File)
Thu, Nov 21, 1:37 PM
Unknown Object (File)
Tue, Nov 19, 6:46 AM
Unknown Object (File)
Mon, Nov 18, 3:20 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?