We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13beb6f commit deb2221Copy full SHA for deb2221
src/components/async_mutex/mutex_awaiter.cpp
@@ -39,10 +39,6 @@ void MutexAwaiter::ReleaseLock() const {
39
}
40
41
42
-// bool MutexAwaiter::HasLock() const {
43
-// return guard.owns_lock();
44
-// }
45
-
46
bool MutexAwaiter::await_ready() const {
47
const bool lock_own = event.TryLock();
48
src/components/async_mutex/mutex_awaiter.h
@@ -25,7 +25,6 @@ class MutexAwaiter final {
25
26
void Resume() const { coro.resume(); }
27
void ReleaseLock() const;
28
-// bool HasLock() const;
29
30
bool await_ready() const;
31
void await_suspend(std::coroutine_handle<>) noexcept;
0 commit comments