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

Does uninstalling a program delete it?

1069


Which is first operating system?

1109


What are the differences between Real Time Operating System (RTOS) and General Purpose Operating Systems (GPOS)?

1074


Explain the meaning of kernal.

1118


Explain about local and global page replacements?

1010


Are 64bit applications faster?

945


Where are chkdsk logs stored?

1135


What is a bootloader?

1004


Explain the concept of the multi-programmed operating systems?

1168


What is a phase change memory?

999


What is critical section problem?

1055


How will you check if your R3 system is 32bit or 64bit?

1029


Give some benefits of multithreaded programming.

1149


Can ram cause blue screen?

989


What is the most used operating system in the world?

1004