My requirement is to provide a shared memory file between 32 bit and 64 bit processes. This file can be created by any of the process depends upon who comes first. - I am still not sure if this is possible and if so, any pitfalls later? - some info got from google: Memory-Mapped Files 32-bit applications can only share memory-mapped files that are mapped into a 32-bit virtual address space. 64-bit applications can share memory-mapped files in a 32-bit or 64-bit virtual address space. To map a file into memory that is shareable between 64-bit and 32-bit applications, your 64-bit application must specify the MAP_ADDR32 flag with the MAP_SHARED flag when invoking mmap(2). URL: http://docs.hp.com/en/5966-9844/ch02s08.html#d0e3037
Does this means for this kind of sharing, memory mapped files should be created by 64 bit process using given flags?
Thanks