4 ms·
In Java, threads that are accessing non synchronized variables can read different information. It's in the jvm spec, and was a surprise back then. In C you coul
by mannyv 3y ago
In Java, threads that are accessing non synchronized variables can read different information. It's in the jvm spec, and was a surprise back then. In C you could assume (at least in some runtimes) that you only need to sync on write.