Refactor extract FOLLY_SYNCHRONIZED_HAVE_TIMED_MUTEX.
authorYedidya Feldblum <yfeldblum@fb.com>
Tue, 4 Aug 2015 16:54:07 +0000 (09:54 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Tue, 4 Aug 2015 17:22:12 +0000 (10:22 -0700)
commit77f6a91425d0f3316144b86e1ef5118da5978402
treeffc8050a0004ce16871a77eb85f37e65e687f44e
parent0347a79f57ee6e1179c0482adacf3a7e6ff890ff
Refactor extract FOLLY_SYNCHRONIZED_HAVE_TIMED_MUTEX.

Summary: [Folly] Refactor extract FOLLY_SYNCHRONIZED_HAVE_TIMED_MUTEX.

The same complex check is done in two places. Ick. Extract it to a single place.

Reviewed By: @​mzlee

Differential Revision: D2302885
folly/Synchronized.h