Use SharedMutex as the default mutex type in Synchronized
authorYedidya Feldblum <yfeldblum@fb.com>
Thu, 10 Dec 2015 20:15:41 +0000 (12:15 -0800)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Thu, 10 Dec 2015 21:20:22 +0000 (13:20 -0800)
commitd8ebd43db7f2146a6a867ce4ec282d934ff32e36
tree689faa92bee3567c29d7646f74a470455e1104be
parent17d04308e64ee7a11ad68f4b4b4c03498c3c8844
Use SharedMutex as the default mutex type in Synchronized

Summary:
[Folly] Use `SharedMutex` as the default mutex type in `Synchronized`.

`folly::SharedMutex` is, overall, a faster mutex than `boost::shared_mutex`. Let's upgrade.

Reviewed By: nbronson

Differential Revision: D2743132

fb-gh-sync-id: e36881495e8e1002cd481607e05e555c5da19b9a
folly/Synchronized.h