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

表示线程局部存储接口 More...

Public Member Functions

TlsItem operator[] (TlsId tlsIndex) const
 

Static Public Member Functions

static TlsItem AllocateLocallyUniqueId ()
 分配线程局部变量存储地址量 方法在主线程或者初始化线程中被调用 More...
 
static void Finalize (TlsId)
 回收分配的存储地址量 More...
 
static void Finalize (TlsItem &tlsItem)
 回收分配的存储地址量 More...
 
static TlsItem GetAt (TlsId tlsIndex)
 获取线程局部存储对象 More...
 

Public Attributes

 RLIB_DECLARE_DYNCREATE
 

Detailed Description

表示线程局部存储接口

Member Function Documentation

TlsItem Tls::AllocateLocallyUniqueId ( )
static

分配线程局部变量存储地址量 方法在主线程或者初始化线程中被调用

void Tls::Finalize ( TlsId  id)
static

回收分配的存储地址量

static void System::Threading::Tls::Finalize ( TlsItem tlsItem)
inlinestatic

回收分配的存储地址量

static TlsItem System::Threading::Tls::GetAt ( TlsId  tlsIndex)
inlinestatic

获取线程局部存储对象


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