|
GameApi 28
Library used by GameApi Builder tool
|


Go to the source code of this file.
Classes | |
| class | chaiscript::detail::threading::Thread_Storage< T > |
| class | chaiscript::detail::threading::mutex |
| STL class. More... | |
| class | chaiscript::detail::threading::recursive_mutex |
| STL class. More... | |
Namespaces | |
| namespace | chaiscript |
| Namespace chaiscript contains every API call that the average user will be concerned with. | |
| namespace | chaiscript::detail |
| Classes and functions reserved for internal use. Items in this namespace are not supported. | |
| namespace | chaiscript::detail::threading |
Typedefs | |
| template<typename T> | |
| using | chaiscript::detail::threading::unique_lock = std::unique_lock<T> |
| template<typename T> | |
| using | chaiscript::detail::threading::shared_lock = std::unique_lock<T> |
| template<typename T> | |
| using | chaiscript::detail::threading::lock_guard = std::lock_guard<T> |
| using | chaiscript::detail::threading::shared_mutex = std::mutex |
This file contains code necessary for thread support in ChaiScript. If the compiler definition CHAISCRIPT_NO_THREADS is defined then thread safety is disabled in ChaiScript. This has the result that some code is faster, because mutex locks are not required. It also has the side effect that the chaiscript::ChaiScript object may not be accessed from more than one thread simultaneously.