add shm demo for multi proc