Sunday 11 March 2012

Synchronization Hardware


  • Test and modify the content of a word atomically
.
  boolean TestAndSet(boolean &target) {
  boolean rv = target;
  tqrget = true;
  return rv;
  }

No comments:

Post a Comment