|
INTERVIEW QUESTIONS
OPERATING SYSTEMS
DETAILS
Question: Describe the two phases of two-phase locking?
Answer: In the first phase, the process tries to lock all the records it needs, one at a time. If it succeeds, it begins the second phase, performing its updates and releasing the locks. No real work is done in the first phase.
|
|
|
Category |
Operating Systems Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7684 users |
Added on |
9/14/2014 |
Views |
68558 |
Rate it! |
|
|
Question:
Describe the two phases of two-phase locking?
Answer:
In the first phase, the process tries to lock all the records it needs, one at a time. If it succeeds, it begins the second phase, performing its updates and releasing the locks. No real work is done in the first phase. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|