Shared memory library