ChaiScript
|
If threading is enabled, then this namespace contains std thread classes. More...
Classes | |
class | Thread_Storage |
Typesafe thread specific storage. More... | |
Typedefs | |
template<typename T > | |
using | unique_lock = std::unique_lock< T > |
template<typename T > | |
using | shared_lock = std::shared_lock< T > |
template<typename T > | |
using | lock_guard = std::lock_guard< T > |
If threading is enabled, then this namespace contains std thread classes.
If threading is not enabled, then stubbed in wrappers that do nothing are provided. This allows us to avoid #ifdef code in the sections that need thread safety.