Who is this for?

This is an advanced topic for developers seeking practical ways to test thread synchronization approaches in the Arm memory model.

What will you learn?

After completing this Learning Path, you'll be able to perform the following tasks:

  • Test thread synchronization assembly snippets against the formal definition of the Arm memory model.
  • Test thread synchronization assembly snippets on Arm hardware.
  • Compare the results of different thread synchronization approaches.

Prerequisites

Before starting, you'll need the following prerequisites:

  • An understanding of memory consistency models (such as sequential consistency, weak ordering, relaxed consistency, and processor consistency)
  • An understanding of thread synchronization
  • Familiarity with Arm assembly language, and the ability to find relevant information on Arm assembly instructions
  • Familiarity with general-purpose registers
  • Familiarity with memory barriers, including acquire and release semantics

Summary

AI-assisted

This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
You’ll examine thread synchronization on Arm systems with small concurrency litmus tests. First, you’ll create an AArch64 MP-style test and use Herd7 to analyze outcomes allowed by the formal Arm memory model. You’ll then run the same specification on Arm hardware with Litmus7 and compare observed behavior with the model. Along the way, you’ll explore acquire-release ordering through LDAR and STLR examples.
Next