Ask 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 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

+5
Answers (1)
  1. 7 March, 01:31
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers