Added a better check for openssl
[folly.git] / 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.