From 101b0ec12f2a394f6e8422fce9de36ffd01d1e60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Tomic=CC=8Cevic=CC=81?= Date: Sat, 21 Nov 2015 22:56:43 +0100 Subject: [PATCH] started working on version_list replacement for atom --- mvcc/version_list.hpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 mvcc/version_list.hpp diff --git a/mvcc/version_list.hpp b/mvcc/version_list.hpp new file mode 100644 index 000000000..a2e63b170 --- /dev/null +++ b/mvcc/version_list.hpp @@ -0,0 +1,31 @@ +#pragma once + +#include "threading/sync/lockable.hpp" +#include "transactions/transaction.hpp" + +#include "memory/lazy_gc.hpp" + +namespace mvcc +{ + +template +class VersionList : Lockable, LazyGC> +{ +public: + class Accessor + { + + }; + + VersionList() = default; + +private: + std::atomic head; + + void vacuum() + { + + } +}; + +}