Java memory model: program order
Hello,
This issue is related to this other issue: https://gitlab.epfl.ch/lamp/cs206-2020/-/issues/45
I have a more theoretical question about the JVM. In slide 52 of lecture 5, the "happens before" relations are defined. One of them is the following:
Program order: Each action in a thread happens-before every subsequent action in the same thread.
What is meant by an action in this context? Is a print (as in midterm 2017, see other issue) not considered being an action?
Thank you for clarifying this!
Edited by Jan David Linder