KVIrc
4.9.2
DeveloperAPIs
|
#include <KviThread.h>
Public Member Functions | |
void | enqueueEvent (KviThreadEvent *e) |
KviSensitiveThread () | |
void | terminate () |
virtual | ~KviSensitiveThread () |
Public Member Functions inherited from KviThread | |
void | internalThreadRun_doNotTouchThis () |
bool | isRunning () |
bool | isStartingUp () |
KviThread () | |
bool | start () |
void | wait () |
virtual | ~KviThread () |
Protected Member Functions | |
KviThreadEvent * | dequeueEvent () |
Protected Member Functions inherited from KviThread | |
void | exit () |
void | postEvent (QObject *o, QEvent *e) |
virtual void | run () |
Protected Attributes | |
KviPointerList< KviThreadEvent > * | m_pLocalEventQueue |
KviMutex * | m_pLocalEventQueueMutex |
Additional Inherited Members | |
Static Public Member Functions inherited from KviThread | |
static void | msleep (unsigned long msec) |
static void | sleep (unsigned long sec) |
static void | usleep (unsigned long usec) |
KviSensitiveThread::KviSensitiveThread | ( | ) |
References m_pLocalEventQueue, m_pLocalEventQueueMutex, and KviPointerList< T >::setAutoDelete().
|
virtual |
|
protected |
References KviPointerList< T >::first(), KviMutex::lock(), m_pLocalEventQueue, m_pLocalEventQueueMutex, KviPointerList< T >::removeFirst(), and KviMutex::unlock().
Referenced by DccChatThread::run(), KviIdentDaemon::run(), DccSendThread::run(), DccVoiceThread::run(), DccVideoThread::run(), and DccRecvThread::run().
void KviSensitiveThread::enqueueEvent | ( | KviThreadEvent * | e | ) |
void KviSensitiveThread::terminate | ( | ) |
References enqueueEvent(), KVI_THREAD_EVENT_TERMINATE, and KviThread::wait().
Referenced by DccFileTransfer::abort(), DccChatWindow::~DccChatWindow(), DccFileTransfer::~DccFileTransfer(), DccVideoWindow::~DccVideoWindow(), DccVoiceWindow::~DccVoiceWindow(), KviIdentDaemon::~KviIdentDaemon(), and ~KviSensitiveThread().
|
protected |
Referenced by dequeueEvent(), enqueueEvent(), KviSensitiveThread(), and ~KviSensitiveThread().
|
protected |
Referenced by dequeueEvent(), enqueueEvent(), KviSensitiveThread(), and ~KviSensitiveThread().