Lines Matching refs:atomic

10 …ort more discreet non-blocking synchronization of the shared memory. The atomic operations impleme…
15 …ed the **LDREX** and **STREX** in the ARMv6 architecture to provide a set of atomic operation APIs.
32 - If the flag register is **0**, the system exits the loop and the atomic operation is complete.
33 …- If the flag register is **1**, the system continues the loop and performs the atomic operation a…
41 The following table describes the APIs available for the OpenHarmony LiteOS-A kernel atomic operati…
43 **Table 1** APIs for atomic operations
47 | Read | LOS_AtomicRead | Reads 32-bit atomic data. |
48 | Read | LOS_Atomic64Read | Reads 64-bit atomic data. |
49 | Write | LOS_AtomicSet | Sets 32-bit atomic data. |
50 | Write | LOS_Atomic64Set | Sets 64-bit atomic data. |
51 | Add | LOS_AtomicAdd | Adds 32-bit atomic data. |
52 | Add | LOS_Atomic64Add | Adds 64-bit atomic data. |
53 | Add | LOS_AtomicInc | Adds 1 to 32-bit atomic data. |
54 | Add | LOS_Atomic64Inc | Adds 1 to 64-bit atomic data. |
55 | Add | LOS_AtomicIncRet | Adds 1 to 32-bit atomic data and returns the data. |
56 | Add | LOS_Atomic64IncRet | Adds 1 to 64-bit atomic data and returns the data. |
57 | Subtract | LOS_AtomicSub | Performs subtraction on 32-bit atomic data. |
58 | Subtract | LOS_Atomic64Sub | Performs subtraction on 64-bit atomic data. |
59 | Subtract | LOS_AtomicDec | Subtracts 1 from 32-bit atomic data. |
60 | Subtract | LOS_Atomic64Dec | Subtracts 1 from 64-bit atomic data. |
61 | Subtract | LOS_AtomicDecRet | Subtracts 1 from 32-bit atomic data and returns the…
62 | Subtract | LOS_Atomic64DecRet | Subtracts 1 from 64-bit atomic data and returns the…
75 … addition, subtraction, and swap operations on the same memory data, use atomic operations to ensu…
85 Call the atomic operation APIs and observe the result.