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.
Normal 0 false false
Explain the term predatism. Describe in brief.
Define the term Internet Engineering Task Force or IETF?
Can carbon dioxide gas utilize as a fuel source?
describe the functions of the secondary lymphoid organ
Explain how does odour of the flower petals help in the pollination?
Explain what do you mean by the secondary mediators?
A new fractional distillation column is not achieving the desired product specification. It is believed this is due to the design of the distillation column (i.e. column dimensions and internal components) and the control of its external components (i.e. reboiler and
Compare the fault handling mechanism in SOAP with that in SunRpc. In particular, state which you consider to be superior, and why.
18,76,764
1959118 Asked
3,689
Active Tutors
1425799
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!