filmov
tv
Program for Inter-Process Communication using shared memory

Показать описание
In this lecture on Program for Inter-Process Communication using shared memory, you will learn how shared memory is used for inter process communication in Linux using C language.
Shared Memory is the fastest inter-process communication (IPC) method. The operating system maps a memory segment in the address space of several processes so that those processes can read and write in that memory segment. The overview is as shown below:
Two functions:shmget() and shmat() are used for IPC using shared memory. shmget() function is used to create the shared memory segment while shmat() function is used to attach the shared segment with the address space of the process.
Reference Videos:
Tools Required:
1. Linux environment
2. Basic knowledge of C Language
3. gcc compiler installed
Reference Links:
Other Playlists:
Was this tutorial about Program for Inter-Process Communication using shared memory helpful? If so, please share. Let me know your thoughts in the comments.
#linux #oslab #os #dextutor #ipc
Shared Memory is the fastest inter-process communication (IPC) method. The operating system maps a memory segment in the address space of several processes so that those processes can read and write in that memory segment. The overview is as shown below:
Two functions:shmget() and shmat() are used for IPC using shared memory. shmget() function is used to create the shared memory segment while shmat() function is used to attach the shared segment with the address space of the process.
Reference Videos:
Tools Required:
1. Linux environment
2. Basic knowledge of C Language
3. gcc compiler installed
Reference Links:
Other Playlists:
Was this tutorial about Program for Inter-Process Communication using shared memory helpful? If so, please share. Let me know your thoughts in the comments.
#linux #oslab #os #dextutor #ipc
Комментарии