Add memory padding and alignment to prevent false sharing
authorArtem Lantsev <lantsev@fb.com>
Wed, 12 Apr 2017 09:16:51 +0000 (02:16 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 12 Apr 2017 09:20:08 +0000 (02:20 -0700)
commita9d90ea14f527b0b719a90f014c8c20e13d54866
tree5dd5920478a765f36ba1d294279a48f53b5d5bd4
parent4e9783b98883ed7b5fbef915556c0736ffdfe545
Add memory padding and alignment to prevent false sharing

Summary: This is a follow up commit for the thread https://github.com/facebook/folly/pull/378

Reviewed By: nbronson

Differential Revision: D4860356

fbshipit-source-id: f10a0d12a593c18b1abf94da5b477c524c04f4be
folly/ProducerConsumerQueue.h
folly/test/ProducerConsumerQueueBenchmark.cpp