Skip to content

Commit 99a06b1

Browse files
committed
Address text consistency and merge related statements
- Changed "doesn't" to "does not" for formal English writing - Fixed the inconsistency of quotation marks - Merged related statements into one paragraph
1 parent 81b7ce4 commit 99a06b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

concurrency-primer.tex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,9 +1092,8 @@ \section{Memory orderings}
10921092

10931093
\subsection{Memory consistency models}
10941094

1095-
When a program is compiled and executed, it doesn't always follow the written order.
1095+
When a program is compiled and executed, it does not always follow the written order.
10961096
The system may change the sequence and optimize it to simulate line-by-line execution, as long as the final result matches the expected outcome.
1097-
10981097
This requires an agreement between the programmer and the system (hardware, compiler, etc.), ensuring that if the rules are followed, the execution will be correct.
10991098
Correctness here means defining permissible outcomes among all possible results, known as memory consistency models.
11001099
These models allow the system to optimize while ensuring correct execution.

0 commit comments

Comments
 (0)