11.12 R4000 Processor Synchronization Support

Examples Using LL and SC


Figure 11-18 shows how to implement test-and-set using LL and SC instructions.



Figure 11-18 Test-and-Set using LL and SC

Figure 11-19 shows synchronization using a counter.



Figure 11-19 Counter Using LL and SC



Copyright 1996, MIPS Technologies, Inc. -- 21 MAR 96

Generated with CERN WebMaker
statistics