For Students
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment