Priority and Semaphore addition