Results 1 to 2 of 2
Hi,
I was just trying to get two processes to share some data.... I just wanted to know if there is any advantage of using shmget vs creating a file ...
- 01-03-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 2
shmget vs creating a file...
Hi,
I was just trying to get two processes to share some data.... I just wanted to know if there is any advantage of using shmget vs creating a file and reading writing from it... it looks to be the same to me.
- 01-03-2011 #2Linux Newbie
- Join Date
- Apr 2007
- Posts
- 119
Assuming enough physical memory, there is no disk I/O with shmget.


Reply With Quote
