Engineering Notes
Created by admin on Fri, 06/01/2012 - 15:13
Sub Topic:
Concurrency Control
Upload File:
Department:
Chapter Name:
Advanced Operating Systems
Description:
A lock is a mechanism to control concurrent access to a data item
Data items can be locked in two modes :
1. exclusive (X) mode. Data item can be both read as well as
written. X-lock is requested using lock-X instruction.
2. shared (S) mode. Data item can only be read. S-lock is
requested using lock-S instruction
Add new comment