libcoro
1.0
Coroutine support library for C++20
coro
mutex
_que
_req
build_queue
do_lock
lock
lock_sync
locked
make_ownership
operator co_await
try_acquire
try_lock
unlock
◆
try_lock()
ownership
coro::mutex::try_lock
(
)
inline
try to lock
Returns
ownership. If the function fails, the ownership is not given. You need to convert ownership to bool and test it.
Definition at line
81
of file
mutex.h
.
Generated on Fri Aug 2 2024 15:51:50 for libcoro by
1.9.1