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

#include <ThreadImplPosix.h>

Inheritance diagram for CThreadImplPosix:
IThreadImpl

Public Member Functions

 CThreadImplPosix (std::thread::native_handle_type handle)
 
 ~CThreadImplPosix () 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

◆ CThreadImplPosix()

CThreadImplPosix::CThreadImplPosix ( std::thread::native_handle_type handle)

◆ ~CThreadImplPosix()

CThreadImplPosix::~CThreadImplPosix ( )
overridedefault

Member Function Documentation

◆ SetPriority()

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

Set the thread priority via the native threading library.

Implements IThreadImpl.

◆ SetThreadInfo()

void CThreadImplPosix::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: