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.
Explain how does odour of the flower petals help in the pollination?
Normal 0 false false
Describe the term Analyzing Open Programs?
Responding Through Talk: Learning is a social activity, and the cornerstone of social activity is talk. Linguist Michael Halliday (1999) contended that language is used not only to gain access to communities but also to create them. T
What do you know about the vestibular system? How it operates?
Advantages of Model Checking: Many tools already exist to help detect problems in source code. Testing is clearly the most widely used technique and there are a variety of tools which support test data selection, test case management, test result chec
18,76,764
1956974 Asked
3,689
Active Tutors
1459950
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!