![]() |
Thread++
Client-Server Multithreading with C++
|
Common. More...
#include <Common.h>
Static Protected Attributes | |
| static CThreadSafeQueue< CTaskClass * > | m_qRequest |
| Request queue. | |
| static CThreadSafeQueue< CTaskClass * > | m_qResult |
| Result queue. | |
| static bool | m_bForceExit = false |
| Force exit flag. | |
Variables to be shared between the threads and the thread manager, including the request queue, the result queue, and a Boolean value to be set if and when you want all threads to terminate without completing any more tasks.
| CTaskClass | Task descriptor. |