libcoro
1.0
Coroutine support library for C++20
coro
thread_pool_t
await_ready
await_resume
await_suspend
current
enqueue
is_stopped
join
operator>>
run
stop
thread_pool_t
~thread_pool_t
◆
enqueue()
template<typename CondVar >
template<std::invocable<> Fn>
bool
coro::thread_pool_t
< CondVar >::enqueue
(
Fn &&
fn
)
inline
enqueue function
Parameters
fn
function to enqueue
Return values
true
success
false
called when thread pool is stopped
Definition at line
54
of file
thread_pool.h
.
Here is the caller graph for this function:
Generated on Fri Aug 2 2024 15:51:50 for libcoro by
1.9.1