Commit 43ebd27f authored by Igor Chorazewicz's avatar Igor Chorazewicz
Browse files

Introduce volatile_state support class

It allows persistent object to use volatile data. It is
implemented as global volatile hash_map which maps PMEMoids
to pointers to volatile data. The hash_map is protected by
read write lock (available from C++14 hence this is the
requirement for the entire feature).

Volatile state stored in hash_map is cleared on pool close
(only the state which is conncted to pmem objects from the
closed pool).
parent 443ea2f3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment