DUNE: Uniform Navigational Environment
2019.02.0
|
Public Member Functions | |
RawTLS (dune_concurrency_raw_tls_dtr_t dtor=NULL) | |
~RawTLS (void) | |
void | set (const void *data) |
void * | get (void) |
RawTLS (RawTLS const &) | |
RawTLS & | operator= (RawTLS const &) |
DUNE::Concurrency::RawTLS::RawTLS | ( | dune_concurrency_raw_tls_dtr_t | dtor = NULL | ) |
Constructor.
dtor | optional TLS data destructor. |
DUNE::Concurrency::RawTLS::~RawTLS | ( | void | ) |
Destructor.
DUNE::Concurrency::RawTLS::RawTLS | ( | RawTLS const & | ) |
void * DUNE::Concurrency::RawTLS::get | ( | void | ) |
Get data set for calling thread.
Referenced by DUNE::Concurrency::TLS< T >::value().
void DUNE::Concurrency::RawTLS::set | ( | const void * | data | ) |
Set data for calling thread.
Previous data set, if any, is released using key destructor, For a value of 0 in particular, it releases the data for the calling thread.
data | data to set |
Referenced by DUNE::Concurrency::TLS< T >::clear(), and DUNE::Concurrency::TLS< T >::value().