Constructing an array from memory address

Daniel Drake ddrake at brontes3d.com
Tue Oct 10 12:34:50 EDT 2006


Hi,

I have an area of memory which is shared between processes (it is
actually a shared memory segment). The address of this memory is stored
in a python long variable, which I pass to various custom C/C++ python
modules.

I would like to construct a numpy array in this area. Is there any way I
can tell numpy to use a specific address (stored as a long) to use as
storage for the array? Is there any interest in adding this?

Thanks,
Daniel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the NumPy-Discussion mailing list