[SciPy-user] shared memory machines

Gael Varoquaux gael.varoquaux@normalesup....
Mon Feb 9 00:15:11 CST 2009

On Sun, Feb 08, 2009 at 07:22:20PM -0500, Philip Semanchuk wrote:
> Hi Gaël,
> I believe one must call ftruncate() on the file handle returned by  
> shm_open(). Look at the example at the bottom of this page:
> http://www.opengroup.org/onlinepubs/000095399/functions/shm_open.html

Hurray, that was it! The code snippet at the end of this page is very
clear. Thank you for the pointer.

> I hope this info is useful.

It really was. Thanks a lot. I need to do a few more checks, but I
believe I have a first version of some code sharing arrays by name.


More information about the SciPy-user mailing list