Threading utilities¶
Overview¶
Threading API providing task executors for asynchronous operations. More…
// typedefs
typedef std::function<void()> InferenceEngine::Task;
typedef tbb::enumerable_thread_specific<T> InferenceEngine::ThreadLocal;
// templates
template InferenceEngine::ExecutorManager;
template InferenceEngine::IStreamsExecutor;
template InferenceEngine::ITaskExecutor;
// classes
class InferenceEngine::CPUStreamsExecutor;
class InferenceEngine::ImmediateExecutor;
Detailed Documentation¶
Threading API providing task executors for asynchronous operations.
Typedefs¶
typedef std::function<void()> InferenceEngine::Task
Inference Engine 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> InferenceEngine::ThreadLocal
A wrapper class to keep object to be thread local.
Parameters:
T |
A type of object to keep thread local. |