|
GameApi 28
Library used by GameApi Builder tool
|
Classes | |
| class | Thread_Storage |
| class | mutex |
| STL class. More... | |
| class | recursive_mutex |
| STL class. More... | |
Typedefs | |
| template<typename T> | |
| using | unique_lock = std::unique_lock<T> |
| template<typename T> | |
| using | shared_lock = std::unique_lock<T> |
| template<typename T> | |
| using | lock_guard = std::lock_guard<T> |
| using | shared_mutex = std::mutex |
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.
| using chaiscript::detail::threading::lock_guard = std::lock_guard<T> |
| using chaiscript::detail::threading::shared_lock = std::unique_lock<T> |
| using chaiscript::detail::threading::shared_mutex = std::mutex |
| using chaiscript::detail::threading::unique_lock = std::unique_lock<T> |