Re: mmap and shared memory

2008-02-15 Thread Ryan Smith-Roberts
On Feb 11, 3:41 pm, Matias Surdi <[EMAIL PROTECTED]> wrote: > Suppose I've a process P1, which generates itself a lot of data , for > example 2Mb. > Then, I've a process P2 which must access P1 shared memory and, > probably, modify this data. > To accomplish this, I've been digging around python's

Re: mmap and shared memory

2008-02-14 Thread Nikita the Spider
In article <[EMAIL PROTECTED]>, Jeff Schwab <[EMAIL PROTECTED]> wrote: > Nikita the Spider wrote: > > In article <[EMAIL PROTECTED]>, > > Jeff Schwab <[EMAIL PROTECTED]> wrote: > > > >> greg wrote: > >>> Carl Banks wrote: > In C you can use the mmap call to request a specific physical loca

Re: mmap and shared memory

2008-02-13 Thread Jeff Schwab
Nikita the Spider wrote: > In article <[EMAIL PROTECTED]>, > Jeff Schwab <[EMAIL PROTECTED]> wrote: > >> greg wrote: >>> Carl Banks wrote: In C you can use the mmap call to request a specific physical location in memory (whence I presume two different processes can mmap anonymous m

Re: mmap and shared memory

2008-02-13 Thread Nikita the Spider
In article <[EMAIL PROTECTED]>, Jeff Schwab <[EMAIL PROTECTED]> wrote: > greg wrote: > > Carl Banks wrote: > >> In C you can use the mmap call to request a specific physical location > >> in memory (whence I presume two different processes can mmap anonymous > >> memory block in the same location

Re: mmap and shared memory

2008-02-12 Thread Jeff Schwab
greg wrote: > Carl Banks wrote: >> In C you can use the mmap call to request a specific physical location >> in memory (whence I presume two different processes can mmap anonymous >> memory block in the same location) > > Um, no, it lets you specify the *virtual* address in the process's > address

Re: mmap and shared memory

2008-02-12 Thread greg
Carl Banks wrote: > In C you can use the mmap call to request a specific physical location > in memory (whence I presume two different processes can mmap anonymous > memory block in the same location) Um, no, it lets you specify the *virtual* address in the process's address space at which the obj

Re: mmap and shared memory

2008-02-11 Thread Tim Roberts
Matias Surdi <[EMAIL PROTECTED]> wrote: >Suppose I've a process P1, which generates itself a lot of data , for >example 2Mb. >Then, I've a process P2 which must access P1 shared memory and, >probably, modify this data. >To accomplish this, I've been digging around python's mmap module, but I >c

Re: mmap and shared memory

2008-02-11 Thread Carl Banks
On Feb 11, 6:41 pm, Matias Surdi <[EMAIL PROTECTED]> wrote: > Suppose I've a process P1, which generates itself a lot of data , for > example 2Mb. > Then, I've a process P2 which must access P1 shared memory and, > probably, modify this data. > To accomplish this, I've been digging around python's

mmap and shared memory

2008-02-11 Thread Matias Surdi
Suppose I've a process P1, which generates itself a lot of data , for example 2Mb. Then, I've a process P2 which must access P1 shared memory and, probably, modify this data. To accomplish this, I've been digging around python's mmap module, but I can't figure how to use it without files. Could