|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
threadsafevalue.hh
Go to the documentation of this file.
Definition mpimanager.hh:353
static const ThreadPoolType & threadPool()
return reference to ThreadPool instance (for caching and efficiency purposes)
Definition mpimanager.hh:430
ThreadSafeValue realizes thread safety for a given variable by creating an instance of this variable ...
Definition threadsafevalue.hh:18
size_t size() const
return number of threads
Definition threadsafevalue.hh:62
ValueType & operator*()
return reference to thread private value
Definition threadsafevalue.hh:71
ValueType & operator[](const unsigned int thread)
return reference to private value for given thread number
Definition threadsafevalue.hh:79
T ValueType
type of value to be thread safe
Definition threadsafevalue.hh:35
ThreadSafeValue()
default constructor
Definition threadsafevalue.hh:49
ThreadSafeValue(Args &&...args)
constructor initializing values for all threads given a init value
Definition threadsafevalue.hh:39
T forward(T... args)
T size(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8