ipc: shared memory among processes with semaphore supported