How are mutex and lock structures implemented?

Viewed 20577

I understand the concept of locks, mutex and other synchronization structures, but how are they implemented? Are they provided by the OS, or are these structures dependent on special CPU instructions for the CPUs MMU?

2 Answers
Related