1. memshare.eu bug

In my tests, using Phix on Linux (Ubuntu 32 bit), I have found that getAttached() in memshare.eu is apparently returning the size field (shm_segsz).
Running ipcs -m showed that demo.exu left shared memory blocks about instead of deleting them (I had to use ipcrm -m 9999 quite a bit).
To get it to work properly, I had to increase the memory allocated (to 80 bytes[??]) and peek 72/3 instead of 36/7.

Can anyone confirm that, using OE on Linux and the original memshare, it works better with those changes?
Or even better, confirm the size of struct shmid_ds and the size/offset of shm_nattch (on various flavours of Linux).

Pete

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu