Fix typo in SharedMutex comment
authorGiuseppe Ottaviano <ott@fb.com>
Sun, 24 Jul 2016 18:48:49 +0000 (11:48 -0700)
committerFacebook Github Bot 7 <facebook-github-bot-7-bot@fb.com>
Sun, 24 Jul 2016 18:53:27 +0000 (11:53 -0700)
Reviewed By: yfeldblum

Differential Revision: D3611881

fbshipit-source-id: 3991c18cc2956e9d0b50a20e6daf913ec58ee501

folly/SharedMutex.h

index e0974d44d6edf9630491a8ad1f7c357c66cca7dd..b2a783d7a23aeddf26da70e765f1a207f0a7a32a 100644 (file)
 // 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.