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 ipc port?
Explain the advantage of executing a process in background?
Explain the system calls used for process management?
Explain how do you execute one program from within another?
Please describe the initial process sequence while the system boots up?
Explain a zombie?
What is unix ipc?
Which ipc is faster?
What are the various schemes available in ipc?
Which ipc is the fastest in unix?
Please explain fork() system call?
What is ln(linking)?
What is the full form of ipc?
What is the very first process created by kernel?
Explain linking across directories?