#ifndef MEMGRAPH_SYNC_LOCKABLE_HPP #define MEMGRAPH_SYNC_LOCKABLE_HPP #include #include "spinlock.hpp" template class Lockable { protected: std::unique_lock acquire() { return std::unique_lock(lock); } lock_t lock; }; #endif