小编use*_*341的帖子

Why is synchronization order defined as total order over all of the synchronization actions?

While studying Java Memory Model, I was confused by the definition of synchronization order (SO). It is said that SO is a total order over all of the synchronization actions (SA) of an execution. But what is the point of talking about all SA of an execution? I can't figure out how this might be useful to me. How can I think about all SA? I understand the meaning of the following statement:

For each thread t, the synchronization …

java java-memory-model

2
推荐指数
1
解决办法
132
查看次数

标签 统计

java ×1

java-memory-model ×1