Use of semaphore
What is Semaphore and when we using this? will
Expert
Semaphore is used to ignore the effect of dead lock. There are three kind of semaphore.
1) Binary semaphore-> this is only to obtain and release the semaphore. Zero is used for unavailable and one is utilized for available.
2) Counting semaphore-> While semaphore is got counter is incremented and while semaphore is released conter is decremented. While counter is zero it is goes to blocked state.
3) Mutual exclusion-> it is similar as binary semaphore. But it is utilized for safety reason. It is two state locked state and unlocked state. While semaphore is got it is goes to locked state and while semaphore is released it goes to unlocked state.
What do you mean by iphone reference library?
A SDLC process has 3 basic components – identify each and discuss the role of each in the System Development Life cycle?
Normal 0 false false
Why was William Howard Taft so popular in the Philippines?
Describe briefly the term predatism?
The “Dust Bowl” was mainly caused by the dust storms taking place throughout the Midwest of USA. Agricultural production over a large part was destroyed and so it contributed a lot towards the Great Depression.
What do you mean by the term mutualism?
What is Semaphore? Briefly illustrate it.
18,76,764
1952508 Asked
3,689
Active Tutors
1447411
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!