Semaphore Semaphores are a way to synchronize threads and processes. For a very good overview, see: man sem_overview TODO: can System V do both named and unnamed semaphores?