#include <Thread.h>
◆ WaitResponse
Enumerator |
---|
WAIT_INTERRUPTED | |
WAIT_SIGNALED | |
WAIT_TIMEDOUT | |
◆ CThread() [1/2]
CThread::CThread |
( |
const char * |
ThreadName | ) |
|
|
explicitprotected |
◆ CThread() [2/2]
CThread::CThread |
( |
IRunnable * |
pRunnable, |
|
|
const char * |
ThreadName |
|
) |
| |
◆ ~CThread()
◆ AbortableWait()
This call will wait on a CEvent in an interruptible way such that if stop is called on the thread the wait will return with a response indicating what happened.
◆ Create()
void CThread::Create |
( |
bool |
bAutoDelete = false , |
|
|
unsigned |
stacksize = 0 |
|
) |
| |
◆ GetAbsoluteUsage()
int64_t CThread::GetAbsoluteUsage |
( |
| ) |
|
◆ GetCurrentThread()
CThread * CThread::GetCurrentThread |
( |
| ) |
|
|
static |
◆ GetCurrentThreadId()
◆ GetDisplayThreadId()
◆ GetMaxPriority()
int CThread::GetMaxPriority |
( |
void |
| ) |
|
◆ GetMinPriority()
int CThread::GetMinPriority |
( |
void |
| ) |
|
◆ GetNormalPriority()
int CThread::GetNormalPriority |
( |
void |
| ) |
|
◆ GetPriority()
int CThread::GetPriority |
( |
void |
| ) |
|
◆ GetRelativeUsage()
float CThread::GetRelativeUsage |
( |
| ) |
|
◆ GetSchedRRPriority()
int CThread::GetSchedRRPriority |
( |
void |
| ) |
|
◆ IsAutoDelete()
bool CThread::IsAutoDelete |
( |
| ) |
const |
◆ IsCurrentThread() [1/2]
bool CThread::IsCurrentThread |
( |
| ) |
const |
◆ IsCurrentThread() [2/2]
◆ IsRunning()
bool CThread::IsRunning |
( |
| ) |
const |
◆ OnException()
virtual void CThread::OnException |
( |
| ) |
|
|
inlinevirtual |
◆ OnExit()
virtual void CThread::OnExit |
( |
| ) |
|
|
inlineprotectedvirtual |
Reimplemented in COMXImage, OMXPlayerAudio, OMXPlayerVideo, CWHelper, ADDON::CAddonStatusHandler, PAPlayer, VAAPI::COutput, VDPAU::CMixer, VDPAU::COutput, CVideoPlayer, CVideoPlayerAudio, CDVDRadioRDSData, CDVDTeletextData, CVideoPlayerVideo, XFILE::CFileCache, and CLanguageInvokerThread.
◆ OnStartup()
virtual void CThread::OnStartup |
( |
| ) |
|
|
inlineprotectedvirtual |
Reimplemented in COMXImage, OMXPlayerAudio, OMXPlayerVideo, CWin32PowerStateWorker, CWHelper, ADDON::CAddonStatusHandler, PAPlayer, VAAPI::COutput, VDPAU::CMixer, VDPAU::COutput, CVideoPlayer, CVideoPlayerAudio, CLanguageInvokerThread, MUSIC_GRABBER::CMusicInfoScraper, and CUdpClient.
◆ Process()
Reimplemented in COMXImage, OMXPlayerAudio, OMXPlayerVideo, MMAL::CMMALRenderer, CZeroconfMDNS, CIRServerSuite, CWHelper, ADDON::CAddonStatusHandler, ActiveAE::CActiveAE, ActiveAE::CActiveAESink, PAPlayer, KODI::RETRO::CGameLoop, KODI::RETRO::CRetroPlayerAutoSave, VAAPI::COutput, VDPAU::CMixer, VDPAU::COutput, CVideoPlayer, CVideoPlayerAudio, CDVDRadioRDSData, CDVDTeletextData, CVideoPlayerVideo, CBusyWaiter, CGUIDialogCache, CGUIDialogKeyboardTouch, XFILE::CFileCache, XFILE::CShoutcastFile, KODI::GAME::CGUIDialogButtonCapture, KODI::GAME::CControllerInstaller, CInputCodingTableBaiduPY, KODI::JOYSTICK::CGUIDialogNewJoystick, ANNOUNCEMENT::CAnnouncementManager, CLanguageInvokerThread, KODI::MESSAGING::CDelayedMessage, MUSIC_GRABBER::CMusicInfoScraper, CAirPlayServer, CAirTunesServer, EVENTSERVER::CEventServer, JSONRPC::CTCPServer, CUdpClient, PERIPHERALS::CEventScanner, CFDEventMonitor, CLirc, PVR::CPVRGUIProgressHandler, PVR::CPVRRefreshTimelineItemsThread, CTimer, CAlarmClock, CJobWorker, CVideoInfoDownloader, KODI::JOYSTICK::CRumbleGenerator, CWin32PowerStateWorker, KODI::GAME::CGUIConfigurationWizard, PERIPHERALS::CPeripheralBus, PERIPHERALS::CPeripheralBusUSB, and PVR::CPVRManager.
◆ SetPriority()
bool CThread::SetPriority |
( |
const int |
iPriority | ) |
|
◆ SetPrioritySched_RR()
bool CThread::SetPrioritySched_RR |
( |
int |
iPriority | ) |
|
◆ Sleep()
void CThread::Sleep |
( |
unsigned int |
milliseconds | ) |
|
◆ StopThread()
void CThread::StopThread |
( |
bool |
bWait = true | ) |
|
|
virtual |
◆ WaitForThreadExit()
bool CThread::WaitForThreadExit |
( |
unsigned int |
milliseconds | ) |
|
◆ m_bStop
std::atomic<bool> CThread::m_bStop |
|
protected |
The documentation for this class was generated from the following files: