aboutsummaryrefslogtreecommitdiffhomepage
path: root/absl/synchronization/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/synchronization/mutex.h')
-rw-r--r--absl/synchronization/mutex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/synchronization/mutex.h b/absl/synchronization/mutex.h
index 374cf57..9301222 100644
--- a/absl/synchronization/mutex.h
+++ b/absl/synchronization/mutex.h
@@ -233,8 +233,8 @@ class LOCKABLE Mutex {
//
// Aliases for `Mutex::Lock()`, `Mutex::Unlock()`, and `Mutex::TryLock()`.
//
- // Use the `Writer*()` versions of these method names when using complementary
- // `Reader*()` methods to distingish simple exclusive `Mutex` usage (`Lock()`,
+ // These methods may be used (along with the complementary `Reader*()`
+ // methods) to distingish simple exclusive `Mutex` usage (`Lock()`,
// etc.) from reader/writer lock usage.
void WriterLock() EXCLUSIVE_LOCK_FUNCTION() { this->Lock(); }