adspace
there are many IPC mechanisms available in Linux ? Which one
is best to use and when ?
Answer Posted / shankar (basav)
Amonog all the available IPCs, Shared Memory is the best
and fastest one. We need to use Shared memory when more
than one proceses wish to communicate each other on a
common read-only memory. It is fast because it does not
involve physical moment of data as the data is shared among
them.
Mutex/Semaphore is the best when a resource(including
memory) is non-shared.
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers