Difference between strong and weak semaphore in os
Answers
Answered by
2
Answer:
Strong semaphore – a semaphore whose definition includes the policy of first-in-first-out (FIFO) queue. Weak semaphore – a semaphore that does not specify the order in which processes are removed from the queue
Answered by
1
Semaphore can be termed strong or weak on the basis of how the different processes are are analysed on the basis of the queue in which they are placed.
Explanation:
- Semaphore can be of two types. They are strong and weak
- it is said to be weak when there is no particular order in which the different processing is done beast on the numbering in a queue.
- In addition to this it is said to be strong when the processing is done based on the first in and the first out phenomena. That is the first one to be present in the queue would be processed first and the last one week process last.
To know more about semaphore,
What happens if we dont use semaphore example? - Brainly.in
https://brainly.in/question/1336720
Similar questions