3 ms·
"Seems to me that locks on A with a lock on B in between is not equivalent to 2 locks on A and then one on B" You're looking at: public void canNotBeMerge
by taspeotis 10y ago
"Seems to me that locks on A with a lock on B in between is not equivalent to 2 locks on A and then one on B"
You're looking at:
public void canNotBeMerged()
The locks can't be merged.
- karankamath 10y agoYeah, but the semantics there refer to merged by an optimization? What's the point of having incomparable examples?
- Alphasite_ 10y agoJust to demonstrate an example of invalid code?