#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()
  
  
      
        
          | WaitResponse CThread::AbortableWait  | 
          ( | 
          CEvent & |           event,  | 
         
        
           | 
           | 
          std::chrono::milliseconds |           duration = std::chrono::milliseconds(-1) ) | 
         
       
   | 
  
inlineprotected   | 
  
 
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 | ) | 
           | 
        
      
 
 
◆ GetCurrentThread()
  
  
      
        
          | CThread * CThread::GetCurrentThread  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ GetCurrentThreadId()
  
  
      
        
          | static const std::thread::id CThread::GetCurrentThreadId  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ IsAutoDelete()
      
        
          | bool CThread::IsAutoDelete  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ IsCurrentThread()
      
        
          | bool CThread::IsCurrentThread  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ IsRunning()
      
        
          | bool CThread::IsRunning  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ Join()
      
        
          | bool CThread::Join  | 
          ( | 
          std::chrono::milliseconds |           duration | ) | 
           | 
        
      
 
 
◆ OnException()
  
  
      
        
          | virtual void CThread::OnException  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ OnExit()
  
  
      
        
          | virtual void CThread::OnExit  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineprotectedvirtual   | 
  
 
Reimplemented in ADDON::CAddonStatusHandler, CDVDRadioRDSData, CDVDTeletextData, CLanguageInvokerThread, CVideoPlayer, CVideoPlayerAudio, CVideoPlayerAudioID3, CVideoPlayerVideo, CWHelper, PAPlayer, VAAPI::COutput, VDPAU::CMixer, VDPAU::COutput, and XFILE::CFileCache.
 
 
◆ OnStartup()
  
  
      
        
          | virtual void CThread::OnStartup  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineprotectedvirtual   | 
  
 
Reimplemented in ADDON::CAddonStatusHandler, CLanguageInvokerThread, CUdpClient, CVideoPlayer, CVideoPlayerAudio, CWHelper, CWin32PowerStateWorker, MUSIC_GRABBER::CMusicInfoScraper, PAPlayer, VAAPI::COutput, VDPAU::CMixer, and VDPAU::COutput.
 
 
◆ Process()
Reimplemented in ActiveAE::CActiveAE, ActiveAE::CActiveAESink, ADDON::CAddonStatusHandler, ANNOUNCEMENT::CAnnouncementManager, CAirPlayServer, CAirTunesServer, CAlarmClock, CBusyWaiter, CDVDRadioRDSData, CDVDTeletextData, CFDEventMonitor, CGUIDialogCache, CGUIDialogKeyboardTouch, CIRServerSuite, CJobManager::CJobWorker, CJobWorker, CLanguageInvokerThread, CLirc, CMediaPipelineWebOS, CTimer, CUdpClient, CVideoInfoDownloader, CVideoPlayer, CVideoPlayerAudio, CVideoPlayerAudioID3, CVideoPlayerVideo, CWHelper, CWin32PowerStateWorker, CZeroconfMDNS, EVENTSERVER::CEventServer, JSONRPC::CTCPServer, KODI::GAME::CControllerInstaller, KODI::GAME::CControllerSelect, KODI::GAME::CGUIConfigurationWizard, KODI::GAME::CGUIDialogButtonCapture, KODI::JOYSTICK::CGUIDialogNewJoystick, KODI::JOYSTICK::CRumbleGenerator, KODI::MESSAGING::CDelayedMessage, KODI::RETRO::CGameLoop, KODI::RETRO::CRetroPlayerAutoSave, MUSIC_GRABBER::CMusicInfoScraper, PAPlayer, PERIPHERALS::CEventScanner, PERIPHERALS::CPeripheralBus, PERIPHERALS::CPeripheralBusUSB, PVR::CPVRGUIProgressHandler, PVR::CPVRManager, PVR::CPVRRefreshTimelineItemsThread, VAAPI::COutput, VDPAU::CMixer, VDPAU::COutput, WSDiscovery::CWSDiscoveryListenerUDP, XFILE::CFileCache, and XFILE::CShoutcastFile.
 
 
◆ SetPriority()
Set the threads priority. This uses the platforms native threading library to do so. 
 
 
◆ Sleep()
template<typename Rep , typename Period > 
  
  
      
        
          | void CThread::Sleep  | 
          ( | 
          std::chrono::duration< Rep, Period > |           duration | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ StopThread()
  
  
      
        
          | void CThread::StopThread  | 
          ( | 
          bool |           bWait = true | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ m_bStop
  
  
      
        
          | std::atomic<bool> CThread::m_bStop | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: