Synchronisation

  • ◷ 8 min
  • Débutant
  • 12 étapes

Two increments should produce two. Watch one disappear, then protect the whole operation.

Cette leçon n’est pas encore traduite en français ; elle est affichée en anglais.

Shared counter
0
Completed increments
0
Lost updates
0
  • Thread A
  • Thread B
  • Protected update