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
What is the very first process created by kernel?
Explain how do you execute one program from within another?
What is the full form of ipc?
What is ipc port?
What is unix ipc?
What are two different models of ipc differentiate both?
How to write the program on full-duplex communication on bidirectional?
What is daemon?
What are the various schemes available in ipc?
How to get or set an environment variable from a program?
Please explain fork() system call?
Max relax-able permission value with out giving write permission to others?
Which ipc is the fastest in unix?
What is ipc in unix?
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?