Support for all clock types in Futex
authorYedidya Feldblum <yfeldblum@fb.com>
Wed, 10 Jan 2018 06:39:11 +0000 (22:39 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 10 Jan 2018 06:51:03 +0000 (22:51 -0800)
commit8bfee85eb0e54a346a8c2fe1ac8b474303b754b0
treef1269cd5a4b5616bb1b1bf790969f9a57234101d
parent0a6bc82e3b9ef8eb49dec6fa7208719ee32990af
Support for all clock types in Futex

Summary:
[Folly] Support for all clock types in `Futex`.

Only `system_clock` and `steady_clock` remain optimal as before, but at least let `Futex` work, even if non-optimally, for all clock types.

Reviewed By: nbronson

Differential Revision: D6673741

fbshipit-source-id: 0a0f778f61b71bea76e12b7fab478e33ce3bbaae
folly/detail/Futex.h
folly/test/FutexTest.cpp