Test and recruitment algorithm against Peterson

What is the difference between test and implementation task mutexandPeterson Algorithm?

Which one is really used in real systems?

+4
source share
1 answer

Peterson's algorithm does not work well in modern cached memory architecture. You ultimately need to constantly blush. Tested and blocked operations, such as blocked exchange or blocked increment, will be much more often used and have direct processor support.

0
source

All Articles