map memory from another process
From: tom (tom_at_dbsevice.com)
Date: 02/28/04
- Next message: Kasper Dupont: "Oops in dcache_readdir"
- Previous message: Kasper Dupont: "Re: Pre and/or post processing of system calls?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 28 Feb 2004 22:36:51 +0100
hi folks,
is there any way to do it without using shared memory?
Scenario:
You have many processes: p0, p1, p2, p3, ... , pN
p1, ... , pN have created a buffer and p1 wants to
get concurrent access to all these buffers.
When using shmem, each process would have to create
it's own shmem segment, which means to 'generate' a
unique key.
Is there any other method? mmap, mprotect?
thanks
--
wereHamster a.k.a. Tom Carnecky Emmen, Switzerland
(GC 3.1) GIT d+ s+: a--- C++ UL++ P L++ E- W++ N++ !o !K w ?O ?M
?V PS PE ?Y PGP t ?5 X R- tv b+ ?DI D+ G++ e-- h! !r !y+
- Next message: Kasper Dupont: "Oops in dcache_readdir"
- Previous message: Kasper Dupont: "Re: Pre and/or post processing of system calls?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]