MCPcopy Create free account
hub / github.com/David-Haim/concurrencpp / async_lock_awaiter

Method async_lock_awaiter

source/threads/async_lock.cpp:14–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12*/
13
14async_lock_awaiter::async_lock_awaiter(async_lock& parent, std::unique_lock<std::mutex>& lock) noexcept :
15 m_parent(parent), m_lock(std::move(lock)) {}
16
17void async_lock_awaiter::await_suspend(coroutine_handle<void> handle) {
18 assert(static_cast<bool>(handle));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected