6 #ifndef TPZSEMAPHOREHPP 7 #define TPZSEMAPHOREHPP Implements semaphore to threads. Utility.
pthread_cond_t fCond
Condition for the thread must to be waiting.
int fCounter
Counter of the times the semaphore is locked.
~TPZSemaphore(void)
Default destructor.
pthread_mutex_t fMutex
Mutex for the thread.
TPZSemaphore(void)
Default constructor.