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 semaphone?

Answer Posted / e.sridhar reddy

a semaphor is nothing but a term used in unix for a
variable which acts as a counter.for instance there may be
times when two processes try to access the same file
simultaneously.in this event we must control the access of
the when the other process is accessing
this is done by assigning value to a semaphore.
the value of the semaphore is initialized by the 1st
process when the file is in access by it.when the 2nd
process try to access the file it checks the value of the
semaphore and if it finds the value as initialized it does
not access the file.

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the very first process created by kernel?

1067


Explain how do you execute one program from within another?

972


What is the full form of ipc?

1136


What is ipc port?

1007


What is unix ipc?

1014


What are two different models of ipc differentiate both?

1061


How to write the program on full-duplex communication on bidirectional?

1038


What is daemon?

1037


What are the various schemes available in ipc?

977


How to get or set an environment variable from a program?

956


Please explain fork() system call?

992


Max relax-able permission value with out giving write permission to others?

1013


Which ipc is the fastest in unix?

997


What is ipc in unix?

1010


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

1015