Intra-thread coherence

前端 未结 0 1282
逝去的感伤
逝去的感伤 2021-01-28 09:09

The code is simple.

// not annotated with volatile
public static int I = 0;

public static int test(){
    I = 1;
    return I;
}

There is a thre

相关标签:
回答
  • 消灭零回复
提交回复
热议问题