#include <threadpool.h>
Definition at line 30 of file threadpool.h.
Public Member Functions | |
| CEvent (bool bInitiallyOwn=FALSE) | |
| virtual | ~CEvent () |
| bool | SetEvent () |
| bool | ResetEvent () |
| bool | IsSignaled () |
| bool | WaitForEvent (unsigned long time=ULONG_MAX) |
Private Attributes | |
| QMutex | m_mutex |
| QWaitCondition | m_wait |
| bool | m_bSignaled |
| CEvent::CEvent | ( | bool | bInitiallyOwn = FALSE |
) |
Definition at line 27 of file threadpool.cpp.
| CEvent::~CEvent | ( | ) | [virtual] |
Definition at line 36 of file threadpool.cpp.
| bool CEvent::SetEvent | ( | ) |
Definition at line 44 of file threadpool.cpp.
Referenced by WorkerThread::run(), WorkerThread::SignalWork(), and WorkerThread::~WorkerThread().
| bool CEvent::ResetEvent | ( | ) |
| bool CEvent::IsSignaled | ( | ) |
Definition at line 73 of file threadpool.cpp.
| bool CEvent::WaitForEvent | ( | unsigned long | time = ULONG_MAX |
) |
Definition at line 86 of file threadpool.cpp.
Referenced by WorkerThread::run(), and WorkerThread::WaitForInitialized().
QMutex CEvent::m_mutex [private] |
Definition at line 34 of file threadpool.h.
Referenced by IsSignaled(), ResetEvent(), SetEvent(), and WaitForEvent().
QWaitCondition CEvent::m_wait [private] |
bool CEvent::m_bSignaled [private] |
Definition at line 36 of file threadpool.h.
Referenced by CEvent(), IsSignaled(), ResetEvent(), SetEvent(), and WaitForEvent().
1.5.5