fastdo  0.5.12
winux::TlsKey类 参考

TLS Key. 更多...

#include <threads.hpp>

Public 成员函数

 TlsKey (void(*destructor)(void *pv)=NULL)
 
 ~TlsKey ()
 
 TlsKey (TlsKey &&other)
 
TlsKeyoperator= (TlsKey &&other)
 
int create (void(*destructor)(void *pv)=NULL)
 创建并初始化 更多...
 
int destroy ()
 销毁 更多...
 
void * get () const
 获取Key值 更多...
 

友元

class TlsVar
 

详细描述

TLS Key.

在文件 threads.hpp363 行定义.

构造及析构函数说明

winux::TlsKey::TlsKey ( void(*)(void *pv)  destructor = NULL)
explicit
winux::TlsKey::~TlsKey ( )
winux::TlsKey::TlsKey ( TlsKey &&  other)

成员函数说明

int winux::TlsKey::create ( void(*)(void *pv)  destructor = NULL)

创建并初始化

int winux::TlsKey::destroy ( )

销毁

void* winux::TlsKey::get ( ) const

获取Key值

TlsKey& winux::TlsKey::operator= ( TlsKey &&  other)

友元及相关函数文档

friend class TlsVar
friend

在文件 threads.hpp384 行定义.


该类的文档由以下文件生成: