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 is a semaphore?

Answer Posted / dibya jyoti(titanmtp)

Semaphore is a technique in which we can avoid the mutual
exclusion problem.or in other words we say it as the
protected variable(ie.They are used for process sync and
are used to resolve deadlock conditions.)
That means if there are many proceess sharing
a same resources then other process must wait it until the
process in critical section is completed as the process in
critical section is completed its send a signal to the
other process to enter a critical section.
basically it is done in two types
1*General semaphore or (counting semaphore)
2*Binary semaphore or (Mutex)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are positional parameters?

902


How do you reset your computer?

1044


How much ram do I need for streaming?

909


What os is used at google?

990


Is kernel a os?

877


What is the name of first operating system?

876


Give some examples of use of thread in a single user multiprocessing system

6560


What is the fastest computer operating system?

944


What are Odm Commands.

1077


Can you have concurrency but not parallelism?

893


How do you clear cache on a laptop?

926


How To Lock A User's Account?

1035


How can I reformat my laptop?

880


Is i3 good for gaming?

926


How do I merge folders on mac?

937