DUNE: Uniform Navigational Environment
2.4.2
|
Typed thread key.
Public Member Functions | |
TLS () | |
T & | value (void) |
void | clear (void) |
TLS< T > & | operator= (const T &v) |
T & | operator* (void) |
|
inline |
Constructor.
Note: it passes base class with proper destruction method.
|
inline |
Clear datum that is allocated for calling thread.
References DUNE::Concurrency::RawTLS::set().
|
inline |
References DUNE::Concurrency::TLS< T >::value().
|
inline |
References DUNE::Concurrency::TLS< T >::value().
|
inline |
Get a datum that is allocated for calling thread only.
Previously allocated value is returned, or a new one is created first time round.
References DUNE::Concurrency::RawTLS::get(), and DUNE::Concurrency::RawTLS::set().
Referenced by DUNE::Concurrency::TLS< T >::operator*(), and DUNE::Concurrency::TLS< T >::operator=().