fastdo
0.6.8
|
TLS Key. 更多...
#include <threads.hpp>
Public 成员函数 | |
TlsKey (void(*destructor)(void *pv)=NULL) | |
~TlsKey () | |
TlsKey (TlsKey &&other) | |
TlsKey & | operator= (TlsKey &&other) |
int | create (void(*destructor)(void *pv)=NULL) |
创建并初始化 更多... | |
int | destroy () |
销毁 更多... | |
void * | get () const |
获取Key值 更多... | |
友元 | |
class | TlsVar |
TLS Key.
在文件 threads.hpp 第 387 行定义.
|
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值
|
friend |
在文件 threads.hpp 第 408 行定义.