queue and semaphore in IPC