Add support for MSVC in asm_pause in Portability.h
authorOrvid King <blah38621@gmail.com>
Mon, 27 Jul 2015 23:16:56 +0000 (16:16 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Tue, 28 Jul 2015 00:22:11 +0000 (17:22 -0700)
commit778b571111db32e14f1f9ecf7746f2e6e5ea7f3d
tree9a04ff28dcdc75e857e916fed1e949ac31efbf64
parent150fc4e9c0f136baabdc50ca01498af4240c6a20
Add support for MSVC in asm_pause in Portability.h

Summary: This implements support for `asm_volatile_pause` and `asm_pause`, as defined in `Portability.h`, for MSVC.
This is needed because MSVC x64 doesn't support inline assembly.
Closes #254

Reviewed By: @yfeldblum

Differential Revision: D2283006

Pulled By: @sgolemon
folly/Portability.h