how to lock and increment a variable ot prevent data race

Printable View