I already DID check
Volatile is not transient. Volatile is not transient. Volatile is not transient. Repeat that inside the same Java function until an outer class variable okToStop changes value from false to true. And be damn happy if the JVM actually re-reads that value.
(No, not my code. Not my coworkers code. Library code. Like edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantLock)
Inga kommentarer:
Skicka en kommentar