From: Giuseppe Ottaviano Date: Sun, 24 Jul 2016 18:48:49 +0000 (-0700) Subject: Fix typo in SharedMutex comment X-Git-Tag: 2016.07.26~4 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0a19e9388bd6768f75c6b53b1d775ab169b81da1;p=folly.git Fix typo in SharedMutex comment Reviewed By: yfeldblum Differential Revision: D3611881 fbshipit-source-id: 3991c18cc2956e9d0b50a20e6daf913ec58ee501 --- diff --git a/folly/SharedMutex.h b/folly/SharedMutex.h index e0974d44..b2a783d7 100644 --- a/folly/SharedMutex.h +++ b/folly/SharedMutex.h @@ -183,7 +183,7 @@ // the shared slots. If you can conveniently pass state from lock // acquisition to release then the fastest mechanism is to std::move // the SharedMutex::ReadHolder instance or an SharedMutex::Token (using -// lock_shared(Token&) and unlock_sahred(Token&)). The guard or token +// lock_shared(Token&) and unlock_shared(Token&)). The guard or token // will tell unlock_shared where in deferredReaders[] to look for the // deferred lock. The Token-less version of unlock_shared() works in all // cases, but is optimized for the common (no inter-thread handoff) case.