Creates a thread that runs the initializer, the function, then the finalizer.
Declared in <folly/executors/thread_factory/InitThreadFactory.h>
virtual
std::thread
newThread(Func&& func) override;
The newly created thread.
| Name | Description |
|---|---|
| func | The function to run on the new thread. |