From: Jack Montgomery Date: Fri, 10 Feb 2017 20:39:08 +0000 (-0800) Subject: changed Synchronized.md to reflect SharedMutex as default X-Git-Tag: v2017.03.06.00~42 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=78443c5a20e395eb6933540c72e05ad1ea77ea0d;p=folly.git changed Synchronized.md to reflect SharedMutex as default Summary: folly/docs/Synchronized.md now reflects the fact that SharedMutex is default mutex for Synchronized Reviewed By: yfeldblum Differential Revision: D4529851 fbshipit-source-id: b3b8eafe908ba92e3629392fbc4b856b5a99b658 --- diff --git a/folly/docs/Synchronized.md b/folly/docs/Synchronized.md index 3d4bff0c..fef6c78c 100644 --- a/folly/docs/Synchronized.md +++ b/folly/docs/Synchronized.md @@ -150,7 +150,7 @@ the lock as soon as possible. `Synchronized` is a template with two parameters, the data type and a mutex type: `Synchronized`. -If not specified, the mutex type defaults to `std::mutex`. However, any +If not specified, the mutex type defaults to `folly::SharedMutex`. However, any mutex type supported by `folly::LockTraits` can be used instead. `folly::LockTraits` can be specialized to support other custom mutex types that it does not know about out of the box. See