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

What is sdram?

1004


Describe Inter Machine Communication?

1176


What first program that the computer runs when the power is turn on?

1064


What is the virtual memory?

950


Can I change from 32 bit to 64 bit?

934


Explain briefly about loader and its functioning?

998


When an input file is opened, what are the possible errors that may occur?

1046


What are the 4 stages of computing?

1040


Does chkdsk erase data?

1005


What do you mean by memory leak?

1161


What happens if we don’t override a run method?

1169


What are the different types of fragmentation?

1143


Explain the various types of registers?

953


What do you mean by ram?

1017


Explain the purpose of the open() and close() operations.

2185