Class mediapipe::ThreadPoolExecutor
ClassList > mediapipe > ThreadPoolExecutor
Inherits the following classes: mediapipe::Executor
Public Functions
| Type | Name |
|---|---|
| void | Schedule (std::function< void()> task) override |
| ThreadPoolExecutor (int num_threads) |
|
| int | num_threads () const |
| size_t | stack_size () const |
| ~ThreadPoolExecutor () override |
Public Static Functions
| Type | Name |
|---|---|
| absl::StatusOr< Executor * > | Create (const MediaPipeOptions & extendable_options) |
Public Functions Documentation
function Schedule
void mediapipe::ThreadPoolExecutor::Schedule (
std::function< void()> task
) override
function ThreadPoolExecutor [1/2]
explicit mediapipe::ThreadPoolExecutor::ThreadPoolExecutor (
int num_threads
)
function num_threads
inline int mediapipe::ThreadPoolExecutor::num_threads () const
function stack_size
inline size_t mediapipe::ThreadPoolExecutor::stack_size () const
function ~ThreadPoolExecutor
mediapipe::ThreadPoolExecutor::~ThreadPoolExecutor () override
Public Static Functions Documentation
function Create
static absl::StatusOr< Executor * > mediapipe::ThreadPoolExecutor::Create (
const MediaPipeOptions & extendable_options
)
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/thread_pool_executor.h