From 78443c5a20e395eb6933540c72e05ad1ea77ea0d Mon Sep 17 00:00:00 2001 From: Jack Montgomery Date: Fri, 10 Feb 2017 12:39:08 -0800 Subject: [PATCH] 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 --- folly/docs/Synchronized.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1