![]() |
ATLAS Offline Software
|
Defines template helper classes for thread-local storage. More...
#include <thread>#include <utility>#include "tbb/concurrent_unordered_map.h"Go to the source code of this file.
Classes | |
| class | thread_utils::ThreadLocalHolder< T > |
| A thread-local storage wrapper. More... | |
| class | thread_utils::ThreadLocalOwner< T > |
| A ThreadLocalHolder which owns its objects. More... | |
Namespaces | |
| thread_utils | |
Defines template helper classes for thread-local storage.
The helpers here provide an implementation of thread-local storage which allows for non-static dynamic memory management as well as element iteration. This extra functionality makes these containers much slower than the builtin thread_local and should only be used when needed.
Definition in file ThreadLocalHolder.h.
1.8.18