Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
221
async_lock* scoped_async_lock::release() noexcept {
222
m_owns = false;
223
return std::exchange(m_lock, nullptr);
224
}
225
226
async_lock* scoped_async_lock::mutex() const noexcept {
227
return m_lock;
Callers
13
enqueue_foreign
Method · 0.80
shutdown
Method · 0.80
ensure_worker_active
Method · 0.80
shutdown
Method · 0.80
resume_consumer
Method · 0.80
test_scoped_async_lock_destructor_impl
Method · 0.80
test_scoped_async_lock_release
Method · 0.80
test_thread_pool_executor_enqueue_algorithm
Method · 0.80
test_timer_cancel_after_due_time_before_beat
Method · 0.80
test_timer_cancel_after_due_time_after_beat
Method · 0.80
get
Method · 0.80
await_resume
Method · 0.80
Calls
no outgoing calls
Tested by
5
test_scoped_async_lock_destructor_impl
Method · 0.64
test_scoped_async_lock_release
Method · 0.64
test_thread_pool_executor_enqueue_algorithm
Method · 0.64
test_timer_cancel_after_due_time_before_beat
Method · 0.64
test_timer_cancel_after_due_time_after_beat
Method · 0.64