Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CThreadImplLinux Class Reference

#include <ThreadImplLinux.h>

Inheritance diagram for CThreadImplLinux:
IThreadImpl

Public Member Functions

 CThreadImplLinux (std::thread::native_handle_type handle)
 
 ~CThreadImplLinux () override=default
 
void SetThreadInfo (const std::string &name) override
 Set the thread name and other info (platform dependent)
 
bool SetPriority (const ThreadPriority &priority) override
 Set the thread priority via the native threading library.
 
- Public Member Functions inherited from IThreadImpl
virtual ~IThreadImpl ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from IThreadImpl
static std::unique_ptr< IThreadImplCreateThreadImpl (std::thread::native_handle_type handle)
 
- Protected Member Functions inherited from IThreadImpl
 IThreadImpl (std::thread::native_handle_type handle)
 
- Protected Attributes inherited from IThreadImpl
std::thread::native_handle_type m_handle
 

Constructor & Destructor Documentation

◆ CThreadImplLinux()

CThreadImplLinux::CThreadImplLinux ( std::thread::native_handle_type handle)

◆ ~CThreadImplLinux()

CThreadImplLinux::~CThreadImplLinux ( )
overridedefault

Member Function Documentation

◆ SetPriority()

bool CThreadImplLinux::SetPriority ( const ThreadPriority & priority)
overridevirtual

Set the thread priority via the native threading library.

Implements IThreadImpl.

◆ SetThreadInfo()

void CThreadImplLinux::SetThreadInfo ( const std::string & name)
overridevirtual

Set the thread name and other info (platform dependent)

Implements IThreadImpl.


The documentation for this class was generated from the following files: