Critical section type that helps when writing multi-platform threaded code. More...
Go to the source code of this file.
Data Structures | |
class | AtProfiledLockable< Mutex > |
Wrapper for Lockable type mutexes, such as std::mutex and std::recursive_mutex. More... | |
Typedefs | |
using | AtMutex = AtProfiledLockable< std::mutex > |
Convenience type aliases. More... | |
using | AtRecursiveMutex = AtProfiledLockable< std::recursive_mutex > |
typedef void * | AtCritSec |
Opaque data type for a critical section. | |
Functions | |
AI_API AI_DEPRECATED void | AiCritSecInit (AtCritSec *cs) |
Initializes a critical section variable. More... | |
AI_API AI_DEPRECATED void | AiCritSecInitRecursive (AtCritSec *cs) |
Initializes a recursive critical section variable. More... | |
AI_API AI_DEPRECATED void | AiCritSecClose (AtCritSec *cs) |
Releases all resources used by a critical section variable, so it cannot be used again. More... | |
AI_API AI_DEPRECATED void | AiCritSecEnter (AtCritSec *cs) |
Enters a critical section. More... | |
AI_API AI_DEPRECATED void | AiCritSecLeave (AtCritSec *cs) |
Leaves a critical section. More... | |
Critical section type that helps when writing multi-platform threaded code.
using AtMutex = AtProfiledLockable<std::mutex> |
Convenience type aliases.