core/memory/guards.hpp file

Classes cubos::core::memory::ReadGuard and cubos::core::memory::WriteGuard.

Namespaces

namespace cubos
Cubos libraries namespace.
namespace cubos::core
Core namespace.
namespace cubos::core::memory
Memory module.

Classes

template<typename T, typename Lock>
class cubos::core::memory::ReadGuard
Provides safe read-only access to an object using a lock.
template<typename T, typename Lock>
class cubos::core::memory::WriteGuard
Provides safe read-write access to an object using a lock.