Y
Hacker News
new
|
ask
|
show
|
jobs
by
qzzi
490 days ago
The point is obviously that the counter is centralized, and it relates to the previous example where is no concurrency. The need for synchronization when sharing data across threads is mentioned just below that.