Home > Back-end >  The 2020-11-12: in Java as - if - serial semantics and happen - before what is the difference betwee
The 2020-11-12: in Java as - if - serial semantics and happen - before what is the difference betwee

Time:11-13

The 2020-11-12: in Java as - if - serial semantics and happen - before what is the difference between semantic? # # f greatly

CodePudding user response:

The as - if - serial semantic guarantee within the single thread execution results not be changed, happens-before relationship to ensure that the results of properly synchronized multithreaded execution is not be changed,
  • Related