[SciPy-user] shared memory machines
Gael Varoquaux
gael.varoquaux at normalesup.org
Mon Feb 9 01:15:11 EST 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.
Gaël
More information about the SciPy-User
mailing list