Ask Question
20 May, 19:08

What is the technique in which a process can do nothing until it gets permission to enter its critical section but continues to execute an instruction or set of instructions that test the appropriate variable to gain entrance? A. Spin Waiting B. General Semaphore C. Critical Resource D. Message Passing

+4
Answers (1)
  1. 20 May, 22:26
    0
    Answer: A) Spin Waiting

    Explanation: Spin waiting is the mechanism to wait in a loop till the permission for the entering the critical sector is granted. The permission is granted on the basis of availability of the lock. The loop continues to wait by tending to be in busy waiting situation.

    Other options are incorrect because general semaphore is used for solving critical issues and achieving synchronization, critical resource can be used at one time at one certain situation and message passing is used for communication of object by sending and receiving message. Thus, the correct option is option (A).
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What is the technique in which a process can do nothing until it gets permission to enter its critical section but continues to execute an ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers