Skip to content

Commit 8abe58d

Browse files
committed
Update terminology from "multithread" to "multi-threaded"
1 parent e04392d commit 8abe58d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

concurrency-primer.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ \subsection{ABA problem}
939939
At the end, the dangling pointer could either point to garbage or trigger segmentation fault.
940940
It could be even worse if nested ABA problem occurs in thread B.
941941
Also, the possibility to allocate a job with same address could be higher when using memory pool, meaning that more chances to have ABA problem occurred.
942-
In fact, pre-allocated memory should be used to achieve lock-free since \monobox{malloc} could have mutex involved in multithreaded environment.
942+
In fact, pre-allocated memory should be used to achieve lock-free since \monobox{malloc} could have mutex involved in multi-threaded environment.
943943

944944
Failure to recognize changed target object through comparison can result in stale information.
945945
The general concept of solving this problem involves adding more information to make different state distinguishable, and then making a decision on whether to act on the old state or retry with the new state.

0 commit comments

Comments
 (0)