Y
Hacker News
new
|
ask
|
show
|
jobs
by
azinman2
4059 days ago
It's actually more than you'd think -- @synchronized has to deal with re-entrant locks, try/catches that also release locks accordingly while bubbling exceptions, etc. There's a lot more to it than compare and swap.