summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2018-09-26 08:07:44 -0700
committerGravatar Derek Mauro <dmauro@google.com>2018-09-26 12:23:01 -0400
commite291c279e458761e77a69b09b129d3d1e81f1e80 (patch)
treee651b4efba59bc975a0b9b5ca8e02d454cf1da04
parente01d95528ea2137a4a27a88d1f57c6cb260aafed (diff)
Export of internal Abseil changes.
-- 87c9505f1d41b52486630ae4404b9060b89a6369 by Abseil Team <absl-team@google.com>: Fix wording in a comment. PiperOrigin-RevId: 214606367 GitOrigin-RevId: 87c9505f1d41b52486630ae4404b9060b89a6369 Change-Id: Icb95299b88e65840dfbc415b515412b24d578ce9
-rw-r--r--absl/synchronization/mutex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/synchronization/mutex.cc b/absl/synchronization/mutex.cc
index af1a5e4e..81219798 100644
--- a/absl/synchronization/mutex.cc
+++ b/absl/synchronization/mutex.cc
@@ -1975,7 +1975,7 @@ void Mutex::LockSlowLoop(SynchWaitParams *waitp, int flags) {
// Unlock this mutex, which is held by the current thread.
// If waitp is non-zero, it must be the wait parameters for the current thread
// which holds the lock but is not runnable because its condition is false
-// or it n the process of blocking on a condition variable; it must requeue
+// or it is in the process of blocking on a condition variable; it must requeue
// itself on the mutex/condvar to wait for its condition to become true.
void Mutex::UnlockSlow(SynchWaitParams *waitp) {
intptr_t v = mu_.load(std::memory_order_relaxed);