Gaia-ECS v1.0.0
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::AccessContextMT Struct Reference

Multi-threaded command-buffer access guard backed by a spin lock. More...

#include <command_buffer.h>

Public Member Functions

void lock ()
 Acquires the access guard.
 
void unlock ()
 Releases the access guard.
 

Public Attributes

mt::SpinLock m_lock
 Spin lock serializing command-buffer access across worker threads.
 

Detailed Description

Multi-threaded command-buffer access guard backed by a spin lock.


The documentation for this struct was generated from the following file: