Allow the use of an emulated futex for EventCount
authorChristopher Dykes <cdykes@fb.com>
Fri, 25 Nov 2016 23:04:03 +0000 (15:04 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Fri, 25 Nov 2016 23:08:25 +0000 (15:08 -0800)
commit46e466274cf56a9cfefd2f7fbe55e4006638e8d2
tree6c6d4b56171a0a2afadfd57aa9e31fbc1c6028b4
parent6d58adc5225a4662faf5f6343069dec626fdc84d
Allow the use of an emulated futex for EventCount

Summary:
Otherwise it won't work under MSVC where we don't have Futexes.
This is achieved by using the Futex API already used elsewhere in Folly.

Reviewed By: yfeldblum

Differential Revision: D4233517

fbshipit-source-id: d6ae6a34b2287cf485f8e4a316445a2ba746d1a7
folly/experimental/EventCount.h