Y
Hacker News
new
|
ask
|
show
|
jobs
by
ViewTrick1002
266 days ago
What is the end result of two threads adding +1 to the same counter 1 million times each in parallel?
Well, the result is safe but unknowable. I would call that garbage data.