RLib  5.7
RLib - an opensource, lightweight and multi-platform framework for cpp programming
System::Threading::Runnable Class Reference

表示线程开始要执行的一系列方法 More...

Public Types

enum  RunnableType { StandardParameterized = 0, Standard, CppParameterized, Cpp }
 
using StdParameterizedThreadStart = DWORD(_stdcall *)(LPVOID lpThreadParameter)
 
using StdThreadStart) = DWORD(_stdcall *)(
 
using CppParameterizedThreadStart = void(_cdecl *)(LPVOID lpThreadParameter)
 
using CppThreadStart) = void(_cdecl *)(
 

Static Public Member Functions

template<typename T >
static Runnable Any (void(_cdecl *callBack)(T), T state)
 

Public Attributes

CppParameterizedThreadStart callback
 
LPVOID state
 

Detailed Description

表示线程开始要执行的一系列方法

Member Enumeration Documentation

Enumerator
StandardParameterized 

标准, 该线程方法有参数

Standard 

拓展, 但是该线程方法无参数

CppParameterized 

C++拓展, 该线程方法遵循C++调用约定并带参数

Cpp 

C++拓展, 该线程方法遵循C++调用约定


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