mult-semaphore wait