Hash :
7cf571ff
Author :
Date :
2023-11-14T02:47:21
doc: Add a note. * doc/posix-headers/stdatomic.texi: Add a note about the memory model.
@node stdatomic.h
@section @file{stdatomic.h}
POSIX specification:@* Not in POSIX yet, but we expect it will be.
ISO C11 (latest free draft
@url{http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf})
section 7.17.
Gnulib module: ---
Portability problems fixed by Gnulib:
@itemize
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
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, IRIX 6.5, Solaris 11.3 with Oracle Studio 12.4 (Sun C 5.13), Cygwin 1.5.19, mingw, MSVC 14.
@item
Linus Torvalds believes that
``no compiler writer will get the C/C++ memory model right'';
see @url{https://lkml.org/lkml/2018/6/7/761}.
@end itemize