#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()
§ 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 VDPAU::COutput, CVideoPlayer, VDPAU::CMixer, VAAPI::COutput, CVideoPlayerVideo, PAPlayer, OMXPlayerVideo, CVideoPlayerAudio, OMXPlayerAudio, CDVDRadioRDSData, COMXImage, CDVDTeletextData, CLanguageInvokerThread, ADDON::CAddonStatusHandler, XFILE::CFileCache, and CWHelper.
§ OnStartup()
virtual void CThread::OnStartup |
( |
| ) |
|
|
inlineprotectedvirtual |
Reimplemented in VDPAU::COutput, CVideoPlayer, VDPAU::CMixer, VAAPI::COutput, PAPlayer, OMXPlayerVideo, MUSIC_GRABBER::CMusicInfoScraper, CVideoPlayerAudio, OMXPlayerAudio, COMXImage, CLanguageInvokerThread, ADDON::CAddonStatusHandler, CUdpClient, CWin32PowerStateWorker, and CWHelper.
§ Process()
Reimplemented in PVR::CPVRManager, VDPAU::COutput, CVideoPlayer, VDPAU::CMixer, ActiveAE::CActiveAE, VAAPI::COutput, PERIPHERALS::CPeripheralBus, MMAL::CMMALRenderer, PVR::CPVRRefreshTimelineItemsThread, ActiveAE::CActiveAESink, CVideoPlayerVideo, PAPlayer, CVideoInfoDownloader, KODI::GAME::CGUIConfigurationWizard, OMXPlayerVideo, MUSIC_GRABBER::CMusicInfoScraper, CVideoPlayerAudio, PERIPHERALS::CEventScanner, CAlarmClock, OMXPlayerAudio, CDVDRadioRDSData, KODI::RETRO::CGameLoop, KODI::GAME::CGUIDialogButtonCapture, CFDEventMonitor, CBusyWaiter, PVR::CPVRGUIProgressHandler, ANNOUNCEMENT::CAnnouncementManager, KODI::RETRO::CRetroPlayerAutoSave, CAirPlayServer, CAirTunesServer, COMXImage, CDVDTeletextData, CTimer, XFILE::CShoutcastFile, JSONRPC::CTCPServer, KODI::JOYSTICK::CRumbleGenerator, CLanguageInvokerThread, PERIPHERALS::CPeripheralBusUSB, EVENTSERVER::CEventServer, CUdpClient, ADDON::CAddonStatusHandler, CGUIDialogCache, XFILE::CFileCache, CZeroconfMDNS, CInputCodingTableBaiduPY, CGUIDialogKeyboardTouch, KODI::MESSAGING::CDelayedMessage, KODI::JOYSTICK::CGUIDialogNewJoystick, CIRServerSuite, CJobWorker, KODI::GAME::CControllerInstaller, CLirc, CWin32PowerStateWorker, and CWHelper.
§ 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: