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?
I understand the concept of locks, mutex and other synchronization structures, but how are
Share
You may want to look at these links, but the main one is the Test-and-set on Wikipedia:
http://en.wikipedia.org/wiki/Test-and-set
How are mutexes implemented?
You can also look at this patent:
http://www.faqs.org/patents/app/20080222331