Add semaphore assignment