Add basic semaphore.