Working on semaphores.