Saturday, July 8, 2017

IPC's in the system

unix ipc
UNIX ipc's



shared memory:

* but fastest IPC
* if multiple process want to access at the same time then shared memory is
prefer
*no data transfer is happens here
* but sync is required

notes:
can refer pdf

pipes:
* if process in the same tree wants to communicate  then we can go for the piepes ipc
* communcation happen via kernel
* unidirectional may be disadvanatages since sockets and all bi directional
* read at one end and write at another end
* i guess no sync needed.

notes:
can refer the pdf



message queue:
if the message coming along with the type information then we can go for the message queue. here sender proces



Reference:

http://www.amparo.net/ce155/
http://www.cs.cf.ac.uk/Dave/C/node25.html#SECTION002500000000000000000
http://www.linux-tutorial.info/modules.php?name=MContent&pageid=21

No comments:

Post a Comment