PowerPC atomic instruction prevents code meltdown

Something as simple as incrementing an integer can fail in a concurrent environment. This article illustrates the failure scenario and introduces the PowerPC’s coping mechanism: atomic instructions. Learn how to close the Window of Death with these assembly-level instructions to update memory correctly, even in the face of concurrency.

9 Comments

  1. 2004-11-26 11:10 pm
  2. 2004-11-26 11:11 pm
  3. 2004-11-26 11:47 pm
  4. 2004-11-27 12:16 am
  5. 2004-11-27 12:40 am
  6. 2004-11-27 7:35 am
  7. 2004-11-27 2:32 pm
  8. 2004-11-27 7:58 pm
  9. 2004-11-28 5:13 pm