Skip to content

Commit 653ca0e

Browse files
cfriedtChristopher Friedt
authored andcommitted
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>
1 parent 5c5947c commit 653ca0e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/reference/kernel/other/atomic.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
Atomic Services
44
###############
55

6-
An :dfn:`atomic variable` is a 32-bit variable that can be read and modified
7-
by threads and ISRs in an uninterruptible manner.
6+
An :dfn:`atomic variable` is one that can be read and modified
7+
by threads and ISRs in an uninterruptible manner. It 32-bit on
8+
32-bit machines and 64-bit on 64-bit machines.
89

910
.. contents::
1011
:local:

0 commit comments

Comments
 (0)