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

Method release

source/threads/async_lock.cpp:221–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221async_lock* scoped_async_lock::release() noexcept {
222 m_owns = false;
223 return std::exchange(m_lock, nullptr);
224}
225
226async_lock* scoped_async_lock::mutex() const noexcept {
227 return m_lock;

Calls

no outgoing calls