9 ms·
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 sharin
by qzzi 2y 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.