nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

How to share memory created by mmap

Von: rbfish (rbfish2k@gmail.com) [Profil]
Datum: 27.07.2009 00:33
Message-ID: <8890d89b-378d-4158-8011-41505bce9ac9@h30g2000vbr.googlegroups.com>
Newsgroup: de.comp.os.unix.programming
Hello there,

How can I share a shared memory, created with mmap(MAP_ANON|
MAP_SHARED), between unrelated processes?

For example, one progress creates a shared memory with mmap(MAP_ANON|
MAP_SHARED). How can I tell the other processes the shared memory? And
then the other processes can access the same shared memory.

Thanks in advance.

[ Auf dieses Posting antworten ]

Antworten