Practice ยท 1 of 2
A Race-Free Counter
Implement hammer spawning nThreads threads that each increment counter incs times. Total increments must be exact โ the counters prove atomicity.
Difficulty: advanced
Press Submit to check your solution.
Back to lesson: Practice: Atomics in Motion