Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are counting semaphores?

Answer Posted / kiruthiga

Semaphore is a nonnegative integer count. Semaphores are
typically used to coordinate access to resources, with the
semaphore count initialized to the number of free
resources. Threads then atomically increment the count when
resources are added and atomically decrement the count when
resources are removed.

When the semaphore count becomes zero, no more resources
are present. Threads that try to decrement the semaphore
when the count is zero block until the count becomes
greater than zero.

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain briefly what is meant by trap and a trapdoor?

1160


How do I find the path of a shared folder?

1078


Throw some light on internal process memory.

1038


Which are the necessary conditions to achieve a deadlock?

1050


Explain the Difference between Process and a Thread.

1065


What are the different types package forms?

1123


Explain the concept of the multi-processor systems or parallel systems?

1024


Explain condition variable.

1025


What is a 64 bit application?

1001


How much ram can a 64 bit os use?

940


When would you choose Top-down methodology?

2329


When the pipe is used?

989


What are the steps involved in following a particular instruction given by the cpu?

976


Is vmware a hypervisor?

959


What is plumbing/piping?

1024