Ask Question
8 August, 03:42

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

+3
Answers (1)
  1. 8 August, 05: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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers