27. What is IPC, what is difference in pipe and fifo.
IPC allow a program to handle many user requests at the same time.
1. Pipe uses the internal data structure for this (It already reserved few space for creating pipe) But FIFO is physically present in our directory.
2.Pipe can be accessed through file descriptor which he returned when using pipe system call,But FIFO having name so we can access and load it in to memory using its file name.
3. pipe can be accessed to the related process only(parent -child process) But fifo is accessed to unrelated process too.
M
23 May, 2018 5:44 PM
IPC allow a program to handle many user requests at the same time.
1. Pipe uses the internal data structure for this (It already reserved few space for creating pipe) But FIFO is physically present in our directory.
2.Pipe can be accessed through file descriptor which he returned when using pipe system call,But FIFO having name so we can access and load it in to memory using its file name.
3. pipe can be accessed to the related process only(parent -child process) But fifo is accessed to unrelated process too.
Report Error
Report Error
Please Login First Click Here