Answer Posted / vinoth
We all know it is an IPC and it is mainly required to have Synchronization of shared memory access among different threads or process.
hmmm .... even mutex does the same thing... They too synchronize the access of the shared memory... then what is the difference..??
semaphore allows n number of users to access the same resources. we go for semaphore only when the resource that can handle some n process/threads at the same time.
Mutex is a semphore with a value 1.
Only one user can access the shared resources at a given time for mutex.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Explain what is the process id for kernel process?
Which ipc is faster?
What is fork()?
Explain linking across directories?
What is ipc in unix?
Explain the initial process sequence while the system boots up?
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?
Please describe the initial process sequence while the system boots up?
Explain about daemon?
What is i-node numbers?
Explain how do you execute one program from within another?
What is the condition required for dead lock in unix system?
What is daemon?
Explain the advantage of executing a process in background?
What is ln(linking)?