library of assembled shared sources |
http://lass.cocamware.com |
#include <thread.h>
Public Member Functions | |
ThreadLocalStorage (void(*destructor)(void *)=0) | |
~ThreadLocalStorage () | |
void *const | get () const |
void | set (void *value) |
Private Member Functions | |
void | swap (NonCopyable &) |
Private Attributes | |
impl::ThreadLocalStorageInternal * | pimpl_ |
Definition at line 228 of file thread.h.
lass::util::ThreadLocalStorage::ThreadLocalStorage | ( | void(*)(void *) | destructor = 0 |
) |
lass::util::ThreadLocalStorage::~ThreadLocalStorage | ( | ) |
void *const lass::util::ThreadLocalStorage::get | ( | ) | const |
Definition at line 266 of file thread.cpp.
References lass::util::impl::ThreadLocalStorageInternal::get(), LASS_ASSERT, and pimpl_.
Referenced by lass::util::ThreadLocalVariable< Allocator >::get().
void lass::util::ThreadLocalStorage::set | ( | void * | value | ) |
Definition at line 272 of file thread.cpp.
References LASS_ASSERT, pimpl_, and lass::util::impl::ThreadLocalStorageInternal::set().
Referenced by lass::util::ThreadLocalVariable< Allocator >::get().
void lass::util::NonCopyable::swap | ( | NonCopyable & | ) | [inline, protected, inherited] |
Definition at line 236 of file thread.h.
Referenced by get(), set(), ThreadLocalStorage(), and ~ThreadLocalStorage().
Generated on Mon Nov 10 14:22:17 2008 for Library of Assembled Shared Sources by 1.5.7.1 |