This preview shows page 1. Sign up to view the full content.
Unformatted text preview: of “week”, “days” and “hourly time slots”. Indicate what actions (block , grant lock, release lock) is taken and what type of locks are set for each of the following actions in the following sequence: (i) – Process A wants to insert an appointment for slot 11:00 am of Monday of week‐10. (ii) – Before Process A completes, process B requires to read entries in week‐10; (iii) – Process A finishes and commits. (iv) ‐‐ Process C wants to block off Monday of week‐10 for a conference. Solutions: (i) – Process A wants to insert an appointment for slot 11:00 am of Monday of week-10. A acquires (action: grant Write Lock) - Write Lock on 11:00 AM time slot of Monday of Week-10; and - Write on Monday of week 10; and - Write on Week 10 (ii) – Before Process A completes, process B requ...
View Full Document
- Spring '08