3 ms·
You're assuming there's no other thread modifying `a` between the assignments. That would make both examples non-idempotent.
by hcarvalhoalves 8y ago
You're assuming there's no other thread modifying `a` between the assignments. That would make both examples non-idempotent.
- dllthomas 8y agoIdempotent means "aa = a." "For all b, aba = ba" is a different property.