Lightweight interface to shared memory
