libpmemobj-cpp icon indicating copy to clipboard operation
libpmemobj-cpp copied to clipboard

Implement feature flags in the concurrent skip list

Open vinser52 opened this issue 4 years ago • 1 comments

It would be good to reserve some space + add feature flags similarly as we have in concurrent_hash_map.

The reserved space should be calculated so that hash_map is aligned to 64B (or even, better 256B)

vinser52 avatar May 18 '20 10:05 vinser52

Features flags could be probably implemented in some general way (as a separate type?).

Additionally:

  • add layout test
  • static assert on std::atomic used in map

igchor avatar May 18 '20 10:05 igchor