Threading utilities

Overview

Threading API providing task executors for asynchronous operations. More…

// typedefs

typedef std::function<void()> ov::threading::Task;
typedef tbb::enumerable_thread_specific<T> ov::threading::ThreadLocal;

// templates

template ov::threading::ExecutorManager;
template ov::threading::IStreamsExecutor;
template ov::threading::ITaskExecutor;

// classes

class ov::threading::CPUStreamsExecutor;
class ov::threading::ImmediateExecutor;

Detailed Documentation

Threading API providing task executors for asynchronous operations.

Typedefs

typedef std::function<void()> ov::threading::Task

OpenVINO Task Executor can use any copyable callable without parameters and output as a task. It would be wrapped into std::function object.

typedef tbb::enumerable_thread_specific<T> ov::threading::ThreadLocal

A wrapper class to keep object to be thread local.

Parameters:

T

A type of object to keep thread local.