Coherence and safe shared updates

Two cores share a counter initially equal to 100 and each increments it once. Assume coherent caches, individually indivisible loads and stores, and operations executed in each core's stated order. Each increment consists of a separate read, addition, and write; no overflow occurs. Which statements are justified? Select all that apply.


Each of two cores performs a counter increment through separate read, add, and write operations.


Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Multi-processors Questions: