SA Saqlain Amin Hardware Synchronization (Test_and_Set() and Compare_and_Swap() Instruction) | Synchronization |… As we saw, Peterson’s solution is pretty straight forward, but it has several issues, like performance overhead and a smaller number of…