folly::ThreadPoolExecutor::afterConstructThreads

Performs post-construction setup for newly created threads.

Synopsis

Declared in <folly/executors/ThreadPoolExecutor.h>

void
afterConstructThreads(std::span<ThreadPtr const> newThreads) noexcept;

Description

Prerequisite: threadListLock_ writelocked.

Parameters

NameDescription
newThreadsThe threads that were just constructed.