Add CachelinePadded<T> to folly.
Summary: This class allows easy insertion of padding bytes after an object to ensure that two cacheline-padded elements of an array don't engage in false sharing. Reviewed By: yfeldblum Differential Revision: D3485144 fbshipit-source-id: a3ece1e34566b20f94ff9f66532b2386ab19a9b1
Showing
folly/CachelinePadded.h
0 → 100644
Please register or sign in to comment