C program for inter-process communication using shared memory in OS

preview_player
Показать описание
Download code link

This video explains the C programming implementation of shared memory interprocess communication.
Library functions used in this program are - ftok, shmget, shmat, shmdt, shmctl
Рекомендации по теме
Комментарии
Автор

Can You Help This Program

Design a program that including 2 sub processes, it receives standard input, through sharing memory, the father process transmits a serial of number(>=10 )to the sub processes, after the sub processes receive the interupt signal from the father process:

1) one subprocess plus the numbers
2)the other subprocess mulitple the numbers
Then through the message queue send the result to the father process, and the father process printf the numbers.

rabiulhasan