Migshm consistency

Adrian <[email protected]>
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
Hi there,

I am playing around with the migshm-patch: I wrote a c++ program that does  
a big matrix-multiplication, where the result is written into a shared  
memory region by child processes. On a single machine, the program works  
just fine, wheras on the cluster when I read out the shared memory, I get  
only a parts of the result.

Is it possible, that the memory is not flushed back after a semop()? To  
make sure I don't miss anything there, I copied the semop() calls from the  
shm_test.c example in the testing suite. --> Without success... Then I  
looked for the flush() system call (mentioned here:  
http://opensource.codito.com/migshm/assumptions.php) but wasn't able to  
figure out, where it is defined. Does someone know it?

I'm using migshm-2.4.26-2.

Thanks,
Adrian




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.