Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
usher_cv_parallel Namespace Reference

Deterministic, race-free std::thread backend for OpenCV parallel regions. More...

Data Structures

class  ThreadPoolBackend
 Persistent std::thread pool implementing cv::parallel::ParallelForAPI. More...
class  ScopedBackend
 RAII guard installing the backend at startup and joining workers before main() exits. More...

Functions

const std::shared_ptr< ThreadPoolBackend > & ensure_installed ()
 Install the process-wide Sensoraia OpenCV parallel backend once.

Detailed Description

Deterministic, race-free std::thread backend for OpenCV parallel regions.

Function Documentation

◆ ensure_installed()

const std::shared_ptr< ThreadPoolBackend > & usher_cv_parallel::ensure_installed ( )
inline

Install the process-wide Sensoraia OpenCV parallel backend once.

Returns
Shared handle to the installed ThreadPoolBackend instance.

Definition at line 428 of file opencv_parallel.hpp.