Skip to content

Class mediapipe::ThreadPool

ClassList > mediapipe > ThreadPool

Classes

Type Name
class WorkerThread

Public Functions

Type Name
void Schedule (std::function< void()> callback)
void StartWorkers ()
ThreadPool (int num_threads)
ThreadPool (const ThreadPool &) = delete
ThreadPool (const std::string & name_prefix, int num_threads)
ThreadPool (const ThreadOptions & thread_options, const std::string & name_prefix, int num_threads)
int num_threads () const
ThreadPool & operator= (const ThreadPool &) = delete
const ThreadOptions & thread_options () const
~ThreadPool ()

Public Functions Documentation

function Schedule

void mediapipe::ThreadPool::Schedule (
    std::function< void()> callback
) 

function StartWorkers

void mediapipe::ThreadPool::StartWorkers () 

function ThreadPool [1/4]

explicit mediapipe::ThreadPool::ThreadPool (
    int num_threads
) 

function ThreadPool [2/4]

mediapipe::ThreadPool::ThreadPool (
    const ThreadPool &
) = delete

function ThreadPool [3/4]

mediapipe::ThreadPool::ThreadPool (
    const std::string & name_prefix,
    int num_threads
) 

function ThreadPool [4/4]

mediapipe::ThreadPool::ThreadPool (
    const ThreadOptions & thread_options,
    const std::string & name_prefix,
    int num_threads
) 

function num_threads

int mediapipe::ThreadPool::num_threads () const

function operator=

ThreadPool & mediapipe::ThreadPool::operator= (
    const ThreadPool &
) = delete

function thread_options

const ThreadOptions & mediapipe::ThreadPool::thread_options () const

function ~ThreadPool

mediapipe::ThreadPool::~ThreadPool () 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/deps/threadpool.h