Skip to content

Commit 303aad2

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 3da3fcc commit 303aad2

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
@@ -749,9 +749,8 @@ \section{Memory orderings}
749749

750750
\subsection{Memory consistency models}
751751

752-
When a program is compiled and executed, it doesn't always follow the written order.
752+
When a program is compiled and executed, it does not always follow the written order.
753753
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.
754-
755754
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.
756755
Correctness here means defining permissible outcomes among all possible results, known as memory consistency models.
757756
These models allow the system to optimize while ensuring correct execution.

0 commit comments

Comments
 (0)