Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit43c6662

Browse files
committed
Minor modernization for README.barrier.
Itanium is very uncommon and being discontinued. ARM is everywhere.Prefer ARM as an example of an architecture with weak memory ordering.
1 parent7bb9721 commit43c6662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/storage/lmgr/README.barrier

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Surprisingly, however, the second backend could also end up with foo = 0
3838
and bar = 1. The compiler might swap the order of the two stores performed
3939
by the first backend, or the two loads performed by the second backend.
4040
Even if it doesn't, on a machine with weak memory ordering (such as PowerPC
41-
orItanium) the CPU might choose to execute either the loads or the stores
41+
orARM) the CPU might choose to execute either the loads or the stores
4242
out of order. This surprising result can lead to bugs.
4343

4444
A common pattern where this actually does result in a bug is when adding items

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp