Add example of a semaphore