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:
parent
174cb7f9f1
commit
80f73a053f
1 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue