Homework Solutions
Homework Solutions. 5.12, 5.14, 5.15, 5.16, 5.17, 5.20. Problem 5.12. Define a procedure similar to those in Figure 5.2, that uses the test_and_set instruction. Note the procedure in Figure 5.2a uses the Compare and Swap instruction and those in Figure 5.2b uses the exchange instruction.
918 views • 24 slides