NeoPZ
Namespaces | Functions
TPZThreadTools.cpp File Reference
#include "TPZThreadTools.h"
#include "pzerror.h"
Include dependency graph for TPZThreadTools.cpp:

Go to the source code of this file.

Namespaces

 tht
 namespace tht means "ThreadTools"
 

Functions

void tht::InitializeCriticalSection (pz_critical_section_t &cs)
 Critical sections. More...
 
void tht::DeleteCriticalSection (pz_critical_section_t &cs)
 
void tht::EnterCriticalSection (pz_critical_section_t &cs)
 
void tht::LeaveCriticalSection (pz_critical_section_t &cs)
 
void tht::InitializeMutex (pz_mutex_t &m)
 Mutexes. More...
 
void tht::DeleteMutex (pz_mutex_t &m)
 
void tht::MutexLock (pz_mutex_t &m)
 
void tht::MutexUnlock (pz_mutex_t &m)
 
int tht::InitializeSemaphore (pz_semaphore_t &s)
 Semaforos. More...
 
void tht::DeleteSemaphore (pz_semaphore_t &s)
 
void tht::SemaphorePost (pz_semaphore_t &s)
 
void tht::SemaphoreWait (pz_semaphore_t &s)
 
void tht::CreateThread (pz_thread_t &thread, void *(*function)(void *param), void *data)
 Threads. More...
 
void tht::ThreadWaitFor (pz_thread_t &thread)