? -- how to use shared data?
Guido Goldstein
guido.goldstein at a-nugget.de
Mon Dec 24 15:43:37 EST 2001
Hi!
On Tue, 25 Dec 2001 00:55:39 +0700 (TSK)
"Gleb Kulikov" <gleb at asd.iao.ru> wrote:
> Hello, all!
>
> How can i gentle solve the follows problem:
>
> There is some binary buffer with fixed length, placed into named shared
> memory block. Data in that area is frequently changed by external (hardware)
> device. I'm afraid, is too uneffective constantly create new memory chunks
> and copy data by PyString_FromStringAndSize. Is there any safe method to make
> direct binding (reflection) of Python's string (or what can i use) to that
> memory buffer?
There is an PyIPC module out there.
The Vaults say that it is on:
http://www.theory.org/~mac4/software
It's *nix/Linux only.
It works for Python 2.x.
HIH
Guido G. <- note that!
--
Q: Do you know what the death rate around here is?
A: One per person.
-- Anon
More information about the Python-list
mailing list