The race condition hidden inside counter++
Most developers see counter++ and assume it is one operation.
It isn't.
That assumption is exactly why race conditions are easy to create and hard to debug.
I understood this properly only after runni
arpitdev.hashnode.dev6 min read