Diferente pentru blog/counter intre reviziile #1 si #2

Nu exista diferente intre titluri.

Diferente intre continut:

 
Given 5 threads that each increment an integer counter variable exactly 10 times. The variable isn't guarded by any lock. You can assume that reading and writing to the variable are atomic operations. What's the minimum value the counter can have after all threads finished.
In Python it would look like this:
==code(c) |
== code(c) |
import threading
num_threads = 5

Nu exista diferente intre securitate.

Topicul de forum nu a fost schimbat.