[an error occurred while processing this directive]
Next: Memory Models: Strong Ordering
Up: 10-smp
Previous: Locking: Performance Considerations
Subsections
| /* counter++; */ | |
| load | r1, counter |
| add | r1, r1, 1 |
| store | r1, counter |
| /* unlock(mutex); */ | |
| store | zero, mutex |