changed Synchronized.md to reflect SharedMutex as default
authorJack Montgomery <jackmontgomery@fb.com>
Fri, 10 Feb 2017 20:39:08 +0000 (12:39 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 10 Feb 2017 20:50:12 +0000 (12:50 -0800)
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

index 3d4bff0c1070aba096950464684c9456ec34d686..fef6c78c78d0bc4bb83600251dafcca5f9368892 100644 (file)
@@ -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<T, Mutex>`.
 
-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