9.49 stdatomic.h ¶
ISO C23 specification:
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf section 7.17.
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/stdatomic.h.html
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
- This header file is missing on many platforms:
glibc with GCC 4.8.x or clang 2.8, FreeBSD 6.4, NetBSD 7.0, OpenBSD 6.5, OpenBSD 6.9 with gcc, Minix 3.3.0, AIX 7.2 with xlc or xlclang, HP-UX 11.31, Solaris 11.3 with Oracle Studio 12.4 (Sun C 5.13), Cygwin 1.5.19, mingw, MSVC 14.
- Linus Torvalds believes that
“no compiler writer will get the C/C++ memory model right”;
see https://lkml.org/lkml/2018/6/7/761.