folly::ThreadPoolExecutor::runTask

Runs a task on the given thread.

Synopsis

Declared in <folly/executors/ThreadPoolExecutor.h>

void
runTask(
    ThreadPtr const& thread,
    Task&& task);

Parameters

NameDescription
threadThe thread that runs the task.
taskThe task to run.