Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <ThreadImplPosix.h>
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< IThreadImpl > | CreateThreadImpl (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 |
CThreadImplPosix::CThreadImplPosix | ( | std::thread::native_handle_type | handle | ) |
|
overridedefault |
|
overridevirtual |
Set the thread priority via the native threading library.
Implements IThreadImpl.
|
overridevirtual |
Set the thread name and other info (platform dependent)
Implements IThreadImpl.