Assume I have a multicore system and a critical section.
I understand how disableling interrupts on a single core systems solves the critical section problem.
So assume I could disable interrupts on all cores atomically (Why is that not possible?). Why would that solve the problem?
As I understand, there would still be n processes running at the same time that may interfere with each other. They just wont be stopped until interrupts are enabled again.
Can somebody explain why that would (according to my professor) work?