summaryrefslogtreecommitdiffstats
path: root/share/man/man3
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-12-27 22:14:35 +0000
committered <ed@FreeBSD.org>2011-12-27 22:14:35 +0000
commit88405d6b4db506be77862821665c43143a4c5c4b (patch)
treecac44cbba13806303a83cc77de43603d3663bf38 /share/man/man3
parent52306b41a65349c9fb64a1e03d2b593af6927dbd (diff)
downloadFreeBSD-src-88405d6b4db506be77862821665c43143a4c5c4b.zip
FreeBSD-src-88405d6b4db506be77862821665c43143a4c5c4b.tar.gz
Document restriction on 32-bits and 64-bits datatypes.
Diffstat (limited to 'share/man/man3')
-rw-r--r--share/man/man3/ATOMIC_VAR_INIT.36
1 files changed, 6 insertions, 0 deletions
diff --git a/share/man/man3/ATOMIC_VAR_INIT.3 b/share/man/man3/ATOMIC_VAR_INIT.3
index 6f20b84..41f28db 100644
--- a/share/man/man3/ATOMIC_VAR_INIT.3
+++ b/share/man/man3/ATOMIC_VAR_INIT.3
@@ -281,6 +281,12 @@ This behaviour cannot be emulated for older compilers.
To prevent unintended non-atomic access to these variables, this header
file places the atomic variable in a structure when using an older
compiler.
+.Pp
+When using GCC on architectures on which it lacks support for built-in
+atomic intrinsics, these macros may emit function calls to fallback
+routines.
+These fallback routines are only implemented for 32-bits and 64-bits
+datatypes, if supported by the CPU.
.Sh SEE ALSO
.Xr pthread 3 ,
.Xr atomic 9
OpenPOWER on IntegriCloud