mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
[BLEREFACTOR]: Add Mutex::AssertHeld.
PiperOrigin-RevId: 834563947
This commit is contained in:
committed by
Copybara-Service
parent
0eb6b57423
commit
7bf001a8c9
@@ -29,6 +29,7 @@ class ABSL_LOCKABLE Mutex : public api::Mutex {
|
||||
|
||||
void Lock() ABSL_EXCLUSIVE_LOCK_FUNCTION() override;
|
||||
void Unlock() ABSL_UNLOCK_FUNCTION() override;
|
||||
void AssertHeld() const ABSL_ASSERT_EXCLUSIVE_LOCK() override {}
|
||||
|
||||
private:
|
||||
friend class ConditionVariable;
|
||||
|
||||
Reference in New Issue
Block a user