Use asm_volatile_memory() for portable memory barriors in LifoSemTests
authorChristopher Dykes <cdykes@fb.com>
Fri, 1 Jul 2016 01:21:53 +0000 (18:21 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Fri, 1 Jul 2016 01:24:14 +0000 (18:24 -0700)
commitb9d8fba1f5714d3ba7372721dc1aff2d5413e37c
treec63cb50195b45c488b3d9f5662e1659ad612f112
parent309ac912849eb8ae73c88da0fafd241ac0d2a04a
Use asm_volatile_memory() for portable memory barriors in LifoSemTests

Summary: The portability headers exist for a reason, so use them.

Reviewed By: yfeldblum

Differential Revision: D3507031

fbshipit-source-id: f88c8ed37e648d38231c1d923c1d69d551beabff
folly/test/LifoSemTests.cpp