In this example, Statement 3 writes to a volatile variable, and Statement 4 (in Thread 2) reads the same volatile variable. The read sees the most recent ...
確定! 回上一頁