|
|
VisionWorks Toolkit ReferenceApril 8, 2016 | 1.4 Release |
The most of NVXIO API is not considered to be thread safe.
The following needs explicit syncronization points:
The following NVXIO classes are thread safe:
One of the most dangerous classes, in terms of thread safety, is FrameSrouce as well as Render and Render3D. Internally, the instances of FrameSource use thread unsafe CUDA EGL Interoperability API, NvMedia API, hold CUDA device memory and so on. Both Render and Render3D use CUDA OpenGL interop and hold some CUDA resources, which can be unsafe in multi GPU environment.
The following examples describe the variants of FrameSource and Render usage, that are treated as thread safe:
The examples of usage, that is not guaranteed to be thread safe: