webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
rtc::PlatformThread Class Reference

#include <platform_thread.h>

Public Member Functions

 PlatformThread (ThreadRunFunctionDeprecated func, void *obj, const char *thread_name)
 
 PlatformThread (ThreadRunFunction func, void *obj, const char *thread_name, ThreadPriority priority=kNormalPriority)
 
virtual ~PlatformThread ()
 
const std::stringname () const
 
void Start ()
 
bool IsRunning () const
 
PlatformThreadRef GetThreadRef () const
 
void Stop ()
 
bool SetPriority (ThreadPriority priority)
 
 PlatformThread (ThreadRunFunctionDeprecated func, void *obj, const char *thread_name)
 
 PlatformThread (ThreadRunFunction func, void *obj, const char *thread_name, ThreadPriority priority=kNormalPriority)
 
virtual ~PlatformThread ()
 
const std::stringname () const
 
void Start ()
 
bool IsRunning () const
 
PlatformThreadRef GetThreadRef () const
 
void Stop ()
 
bool SetPriority (ThreadPriority priority)
 

Constructor & Destructor Documentation

◆ PlatformThread() [1/4]

rtc::PlatformThread::PlatformThread ( ThreadRunFunctionDeprecated  func,
void obj,
const char *  thread_name 
)

◆ PlatformThread() [2/4]

rtc::PlatformThread::PlatformThread ( ThreadRunFunction  func,
void obj,
const char *  thread_name,
ThreadPriority  priority = kNormalPriority 
)

◆ ~PlatformThread() [1/2]

rtc::PlatformThread::~PlatformThread ( )
virtual

◆ PlatformThread() [3/4]

rtc::PlatformThread::PlatformThread ( ThreadRunFunctionDeprecated  func,
void obj,
const char *  thread_name 
)

◆ PlatformThread() [4/4]

rtc::PlatformThread::PlatformThread ( ThreadRunFunction  func,
void obj,
const char *  thread_name,
ThreadPriority  priority = kNormalPriority 
)

◆ ~PlatformThread() [2/2]

virtual rtc::PlatformThread::~PlatformThread ( )
virtual

Member Function Documentation

◆ GetThreadRef() [1/2]

PlatformThreadRef rtc::PlatformThread::GetThreadRef ( ) const

◆ GetThreadRef() [2/2]

PlatformThreadRef rtc::PlatformThread::GetThreadRef ( ) const

◆ IsRunning() [1/2]

bool rtc::PlatformThread::IsRunning ( ) const

◆ IsRunning() [2/2]

bool rtc::PlatformThread::IsRunning ( ) const

◆ name() [1/2]

const std::string& rtc::PlatformThread::name ( ) const
inline

◆ name() [2/2]

const std::string& rtc::PlatformThread::name ( ) const
inline

◆ SetPriority() [1/2]

bool rtc::PlatformThread::SetPriority ( ThreadPriority  priority)

◆ SetPriority() [2/2]

bool rtc::PlatformThread::SetPriority ( ThreadPriority  priority)

◆ Start() [1/2]

void rtc::PlatformThread::Start ( )

◆ Start() [2/2]

void rtc::PlatformThread::Start ( )

◆ Stop() [1/2]

void rtc::PlatformThread::Stop ( )

◆ Stop() [2/2]

void rtc::PlatformThread::Stop ( )

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