View Single Post

   
  #1 (permalink)  
Old 03-28-2008, 04:32 AM
Alex Vinokur
 
Posts: n/a
Default shm_open() & mmap() vs. shmget() & shmat()

> uname -smrsv
HP-UX B.11.23 U ia64

There is a possibility to work with shared memory using shm_open() &
mmap() too.

Are there any differences in this case vs. usage of shmget() &
shmat() ?

What are Pros and Cons: shm_open() & mmap() vs. shmget() & shmat() ?

Of course, the answer depends on our requirements, but perhaps there
are common things to be remarked.


Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn

Reply With Quote