>_
new2coding
browse
topics
about
random
computers/
CPUs, memory, operating systems and what happens when code runs.
search
All
AI
Building software
Computers
Computer science
Databases
Infrastructure
Mobile
Networks
Programming languages
Security
The web
Tools
1 result
computers/race-conditions-why-two-people-adding-1-to-5-can-leave-you-with-6.md
Race conditions: why two people adding 1 to 5 can leave you with 6
Two phones add one item to a shared list of 5, and the list ends up at 6 instead of 7. Nothing is broken, yet an update was lost. This is a…
6 min read · 16 Oct