projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
39dbe57
)
Fix typo in SharedMutex comment
author
Giuseppe Ottaviano
<ott@fb.com>
Sun, 24 Jul 2016 18:48:49 +0000
(11:48 -0700)
committer
Facebook 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
patch
|
blob
|
history
diff --git
a/folly/SharedMutex.h
b/folly/SharedMutex.h
index e0974d44d6edf9630491a8ad1f7c357c66cca7dd..b2a783d7a23aeddf26da70e765f1a207f0a7a32a 100644
(file)
--- 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
// 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_s
ah
red(Token&)). The guard or token
+// lock_shared(Token&) and unlock_s
ha
red(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.
// 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.