A class to encapsulate the pthread semaphore structure so it becomes easier works with semaphores. Needs pthreads installed in the system.