We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 097d0d8 commit 5ee41baCopy full SHA for 5ee41ba
absl/synchronization/mutex.h
@@ -599,9 +599,8 @@ class ABSL_SCOPED_LOCKABLE MutexLock {
599
public:
600
// Constructors
601
602
- // Calls `mu->lock()` and returns when that call returns. That is, `*mu` is
603
- // guaranteed to be locked when this object is constructed. Requires that
604
- // `mu` be dereferenceable.
+ // Calls `mu.lock()` and returns when that call returns. That is, `mu` is
+ // guaranteed to be locked when this object is constructed.
605
explicit MutexLock(Mutex& mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(mu) {
606
this->mu_.lock();
607
}
0 commit comments