Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
taspeotis
· 10y ago · 0 comments
"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.
Comments
[–]
karankamath
10y ago
Yeah, but the semantics there refer to merged by an optimization? What's the point of having incomparable examples?
[–]
Alphasite_
10y ago
Just to demonstrate an example of invalid code?