NeoPZ
Functions
tht Namespace Reference

namespace tht means "ThreadTools" More...

Functions

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

Detailed Description

namespace tht means "ThreadTools"

Function Documentation

◆ CreateThread()

void tht::CreateThread ( pz_thread_t thread,
void *(*)(void *param)  function,
void *  data 
)

Threads.

Definition at line 204 of file TPZThreadTools.cpp.

References DebugStop, and test::res.

Referenced by TPZFront< TVar >::STensorProductMTData::STensorProductMTData().

◆ DeleteCriticalSection()

void tht::DeleteCriticalSection ( pz_critical_section_t cs)

◆ DeleteMutex()

void tht::DeleteMutex ( pz_mutex_t m)

Definition at line 88 of file TPZThreadTools.cpp.

◆ DeleteSemaphore()

void tht::DeleteSemaphore ( pz_semaphore_t s)

◆ EnterCriticalSection()

void tht::EnterCriticalSection ( pz_critical_section_t cs)

◆ InitializeCriticalSection()

void tht::InitializeCriticalSection ( pz_critical_section_t cs)

Critical sections.

Definition at line 10 of file TPZThreadTools.cpp.

Referenced by TPZFront< TVar >::STensorProductMTData::STensorProductMTData().

◆ InitializeMutex()

void tht::InitializeMutex ( pz_mutex_t m)

Mutexes.

Definition at line 68 of file TPZThreadTools.cpp.

References DebugStop.

◆ InitializeSemaphore()

int tht::InitializeSemaphore ( pz_semaphore_t s)

Semaforos.

Definition at line 129 of file TPZThreadTools.cpp.

References DebugStop.

Referenced by TPZFront< TVar >::STensorProductMTData::STensorProductMTData().

◆ LeaveCriticalSection()

void tht::LeaveCriticalSection ( pz_critical_section_t cs)

◆ MutexLock()

void tht::MutexLock ( pz_mutex_t m)

Definition at line 101 of file TPZThreadTools.cpp.

◆ MutexUnlock()

void tht::MutexUnlock ( pz_mutex_t m)

Definition at line 114 of file TPZThreadTools.cpp.

◆ SemaphorePost()

void tht::SemaphorePost ( pz_semaphore_t s)

◆ SemaphoreWait()

void tht::SemaphoreWait ( pz_semaphore_t s)

◆ ThreadWaitFor()

void tht::ThreadWaitFor ( pz_thread_t thread)