Example for IPC with shared memory