2.29.3 [10] <2.11> Compare the best-case performance of your code from 2.29.1
and 2.29.2, assuming that each instruction takes one cycle to execute. Note: best-case
means that ll/sc always succeeds, the lock is always free when we want to lock(),
and if there is a branch we take the path that completes the operation with fewer
executed instructions.
 
 
View Solution
 
 
 
<< Back Next >>