What is a semaphore, Operating System

What is a semaphore?

A semaphore 'S' is a synchronization tool which is  an integer value that, apart from initialization, is accessed only by two standard atomic operations; wait and signal .Semaphores can be used to deal with the n-process critical section problem. It can be also used to resolve various Synchronization problems.

 

Posted Date: 6/6/2013 4:13:37 AM | Location : United States







Related Discussions:- What is a semaphore, Assignment Help, Ask Question on What is a semaphore, Get Answer, Expert's Help, What is a semaphore Discussions

Write discussion on What is a semaphore
Your posts are moderated
Related Questions
My code it didn''t run properly ,i tried to pass 2 parameter example : ./a.out ls -ll ,but it execute only the ls instead of the ls -ll ! plz help amd thank you ! #include #inclu

Q. Consider a calculating environment where a process is given the privilege of accessing object only n times. Suggest a scheme for implementing this policy. Answer: Add an i

What are the disadvantages of linked allocation? The drawbacks are a. Used only for sequential access of files. b. Direct access is not supported c. Memory space neede

How Memory utilization factor shall be computed  Memory utilization factor shall be defined as Memory in use/total memory connected

properies of Batch oriented and interactive operating system.


what is deadlock

what are the factors influencing the choice of a mode of transportation?

Define ‘LRU’ page replacement policy LRU is Least Recently Used page replacement policy.

Two Level Directory This kind of structure overcomes the problems of assigning unique names to the files. Thus there need not be any confusion among users. In this kind of s