Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question shmget vs creating a file...

    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.

  2. #2
    Assuming enough physical memory, there is no disk I/O with shmget.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts