While reviewing concurrency async, two workers update one counter concurrently. Which action fixes it, and which check proves it worked?
Answer options
- A. Protect assignment with a lock
- B. Compare and increment a version field
- C. Use an atomic update operation
- D. Test simultaneous updates repeatedly