browse/
2 results
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…
computers/time-slices-how-one-cpu-core-runs-many-programs-at-once.md
Time slices: how one CPU core runs many programs at once
Your computer runs far more programs than it has processor cores. How? The operating system's scheduler gives each program a short time…