11 #include "threads/Thread.h" 22 static std::unique_ptr<IThreadImpl> CreateThreadImpl(std::thread::native_handle_type handle);
34 virtual bool SetPriority(
const ThreadPriority& priority) = 0;
37 IThreadImpl(std::thread::native_handle_type handle) : m_handle(handle) {}
39 std::thread::native_handle_type m_handle;
virtual bool SetPriority(const ThreadPriority &priority)=0
Set the thread priority via the native threading library.
Definition: IThreadImpl.h:17
virtual void SetThreadInfo(const std::string &name)=0
Set the thread name and other info (platform dependent)