Portable abstraction layer for shared memory
