NeoPZ
|
Go to the source code of this file.
Namespaces | |
tht | |
namespace tht means "ThreadTools" | |
Macros | |
#define | using_pthread |
Typedefs | |
typedef pthread_mutex_t | pz_critical_section_t |
typedef pthread_mutex_t | pz_mutex_t |
typedef TPZSemaphore | pz_semaphore_t |
typedef pthread_t | pz_thread_t |
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) |
#define using_pthread |
Definition at line 5 of file TPZThreadTools.h.
typedef pthread_mutex_t pz_critical_section_t |
Definition at line 26 of file TPZThreadTools.h.
typedef pthread_mutex_t pz_mutex_t |
Definition at line 27 of file TPZThreadTools.h.
typedef TPZSemaphore pz_semaphore_t |
Definition at line 28 of file TPZThreadTools.h.
typedef pthread_t pz_thread_t |
Definition at line 29 of file TPZThreadTools.h.