folly::ThreadPoolExecutor::tryAddOneThread

Tries to start one new thread.

Synopsis

Declared in <folly/executors/ThreadPoolExecutor.h>

bool
tryAddOneThread() noexcept;

Description

Prerequisite: threadListLock_ writelocked.

Return Value

true if a thread was added.