Program for Inter-Process Communication using named pipes || mkfifo

Описание к видео Program for Inter-Process Communication using named pipes || mkfifo

In this lecture on Program for Inter-Process Communication using named pipes, you will learn how to pass messages between two processes using mkfifo.
mkfifo() creates a named pipe which can be used exactly like a file. So, if you know how to read/write in a file this is a convenient method for IPC. The advantage is that this FIFO special file can be used by any process for reading or writing just like a normal file. This means to sender process can use the write() system call to write data into the pipe and the receiver process can use the read() system call to read data from the pipe, hence, completing the communication.

Subscribe -    / dextutor  

This lecture is part of the Operating System Lab playlist:    • Operating System Lab  

For Program code and more details visit: https://dextutor.com/program-for-ipc-...

Reference Videos:
1. IPC using pipe():    • Program for Inter-Process Communicati...  
2. IPC using named pipes:    • Program for Inter-Process Communicati...  
3. IPC using Shared memory:    • Program for Inter-Process Communicati...  
4. IPC using message queues:    • Program for Inter Process Communicati...  
5. IPC using popen:    • Program for Inter-Process Communicati...  

Tools Required:
1. Linux environment
2. Basic knowledge of C Language
3. gcc compiler installed

Reference Links:
Operating System Theory PPTs Link: https://dextutor.com/courses/operatin...
Operating System Programs: https://dextutor.com/courses/operatin...

Other Playlists:

OS:    • Operating System  

Linux Essential:    • Linux Tutorial For Beginners  

RHCSA:    • RHCSA Exam Full Course  

Was this tutorial about Program for Inter-Process Communication using named pipes helpful? If so, please share. Let me know your thoughts in the comments.

#linux #oslab #os #dextutor #ipc

Комментарии

Информация по комментариям в разработке