ThreadLocalStorage class. More...
#include <thread_local_storage.h>
Public Member Functions | |
| ThreadLocalStorage () | |
| Constructs a Thread Local Storage object. More... | |
| ~ThreadLocalStorage () | |
Static Public Member Functions | |
| static std::shared_ptr< ThreadLocalStorageData > | get_variable (const std::string &name) |
| Get a variable. More... | |
| static void | set_variable (const std::string &name, std::shared_ptr< ThreadLocalStorageData > ptr) |
| Set a variable. More... | |
Friends | |
| class | ThreadLocalStorage_Instance |
ThreadLocalStorage class.
| clan::ThreadLocalStorage::ThreadLocalStorage | ( | ) |
Constructs a Thread Local Storage object.
| clan::ThreadLocalStorage::~ThreadLocalStorage | ( | ) |
|
static |
Get a variable.
|
static |
Set a variable.
|
friend |