4 ms·
This sounds like volatile in Java, and while sometimes useful it is still a minor part of writing concurrent code. In particular, once you read the value is po
by bcrosby95 3y ago
This sounds like volatile in Java, and while sometimes useful it is still a minor part of writing concurrent code.
In particular, once you read the value is potentially stale. If you write to something based upon it you now have a race condition.