Question: Locking is not done explicitly in persistent programming

Locking is not done explicitly in persistent programming languages. Rather, objects (or the corresponding pages) must be locked when the objects are accessed. Most modern operating systems allow the user to set access protections (no access, read, writes) on pages, and memory access that violate the access protections result in a protection violation (see the Unix mprotect command, for example). Describe how the access-protection mechanism can be used for page-level locking in a persistent programming language.


View Solution:


Sale on SolutionInn
Sales1
Views283
Comments
  • CreatedJanuary 29, 2011
  • Files Included
Post your question
5000