#include "StdAfx.h"
#include "CAThreadPool.hpp"
#include "CAMsg.hpp"
Go to the source code of this file.
◆ tpool_thread()
void* tpool_thread |
( |
void * |
| ) |
|
◆ worker_thread_main_loop()
Definition at line 155 of file CAThreadPool.cpp.
#define THREAD_RETURN_SUCCESS
SINT32 signal()
Signals this object.
SINT32 broadcast()
Signals this object.
SINT32 wait()
Waits for a signal or for a timeout.
volatile bool m_bShutdown
CAConditionVariable * m_pcondNotFull
tpool_work_t * m_pQueueTail
CAConditionVariable * m_pcondNotEmpty
volatile UINT32 m_CurQueueSize
bool m_bDoNotBlockWhenFull
tpool_work_t * m_pQueueHead
CAConditionVariable * m_pcondEmpty