How does mutex work in multicore systems?

25 Views Asked by At

In single-processor systems, mutexes are atomic operations, meaning no other thread can change the mutex while an instruction is executing. However, in a multicore system, what happens if two threads attempt to change the mutex value simultaneously while they are working on separate cores ?

Instruction set of mutex from operating systems book

0

There are 0 best solutions below