Simply unfold the code of start_worker() into create_worker() and
remove the original start_worker() and create_and_start_worker().
maybe_create_worker() also becomes decently shorter.
The only trade-off is the introduced overhead that the pool->lock
is released and regrabbed after the newly
Simply unfold the code of start_worker() into create_worker() and
remove the original start_worker() and create_and_start_worker().
maybe_create_worker() also becomes decently shorter.
The only trade-off is the introduced overhead that the pool-lock
is released and regrabbed after the newly
2 matches
Mail list logo