Container for thread-private values. More...
Public Member Functions | |
| void | initialize () |
| Initializes the key containing thread-private values. This method can be called multiple times and does nothing if the key has already been initialized. | |
| void * | getValue () |
| void | setValue (void *v) |
Private Attributes | |
| GlibPrivate * | m_storage |
Container for thread-private values.
initialize() must be called before using the setValue()/getValue() methods. This initialize() method can be called multiple times.
Definition at line 40 of file ThreadPrivate.h.
| Arcane::ThreadPrivateStorage::ThreadPrivateStorage | ( | ) |
Definition at line 25 of file ThreadPrivate.cc.
| Arcane::ThreadPrivateStorage::~ThreadPrivateStorage | ( | ) |
Definition at line 31 of file ThreadPrivate.cc.
| void * Arcane::ThreadPrivateStorage::getValue | ( | ) |
Definition at line 45 of file ThreadPrivate.cc.
| void Arcane::ThreadPrivateStorage::initialize | ( | ) |
Initializes the key containing thread-private values. This method can be called multiple times and does nothing if the key has already been initialized.
Definition at line 36 of file ThreadPrivate.cc.
| void Arcane::ThreadPrivateStorage::setValue | ( | void * | v | ) |
Definition at line 51 of file ThreadPrivate.cc.
|
private |
Definition at line 64 of file ThreadPrivate.h.