mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Document restriction on 32-bits and 64-bits datatypes.
This commit is contained in:
parent
6d57c75097
commit
669ab20feb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228920
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user