doc kernel: atomics: support for 64-bit atomic operations

By redefining `atomic_t` as `long`, the type is 32-bit on
32-bit architectures and 64-bit on 64-bit architectures.

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
This commit is contained in:
Christopher Friedt 2021-10-26 13:58:11 -04:00 committed by Anas Nashif
commit 80f73a053f

View file

@ -3,8 +3,9 @@
Atomic Services
###############
An :dfn:`atomic variable` is a 32-bit variable that can be read and modified
by threads and ISRs in an uninterruptible manner.
An :dfn:`atomic variable` is one that can be read and modified
by threads and ISRs in an uninterruptible manner. It 32-bit on
32-bit machines and 64-bit on 64-bit machines.
.. contents::
:local: