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)
Fri, Feb 27, 9:04 PM
Unknown Object (File)
Tue, Feb 17, 6:03 PM
Unknown Object (File)
Tue, Feb 17, 2:25 PM
Unknown Object (File)
Sun, Feb 8, 10:12 AM
Unknown Object (File)
Sat, Feb 7, 8:37 PM
Unknown Object (File)
Jan 30 2026, 8:27 PM
Unknown Object (File)
Jan 23 2026, 2:23 PM
Unknown Object (File)
Jan 18 2026, 2:07 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?