ThreadInterfaceTemplate< IMPLEMENTATION > Class Template Reference 线程
#include <thread.h>
静态公共成员函数 |
|
template<typename... ARGS> | |
static ResultMemT < StrongRef < IMPLEMENTATION > > | 创建 (ARGS &&... args) |
![]() |
|
static const ThreadInterface * | GetCurrentThread () |
static Bool | IsMainThread () |
static THREADTYPE | GetCurrentThreadType () |
static THREADTYPE | GetCurrentThreadType ( Int &threadIdentifier) |
static Result < void > | AssimilateAlienThread () |
![]() |
|
static Int | GetCurrentWorkerThreadIndex () |
static Int | GetCurrentThreadCount () |
static Bool | IsCurrentJobCancelled (const JobInterface *optionalJob=nullptr) |
static JobStatusInterface * | GetCurrentJob () |
私有成员函数 |
|
MAXON_DISALLOW_COPY_AND_ASSIGN ( ThreadInterfaceTemplate ) |
ThreadInterfaceTemplate | ( | ) |
ThreadInterfaceTemplate | ( | ThreadInterfaceTemplate < IMPLEMENTATION > && | src | ) |
|
static |
Creates the thread.
[in] | args | Arguments for the construcor. |
ARGS | Parameter types. |
|
private |