CVL Objects Require Apartment Threading

With the exception of certain threading support classes, none of the classes in CVL should be considered thread safe. Essentially all CVL classes require the use of the apartment threading model. For a given instance of a CVL class, only a single thread can use the instance at one time.

This means that:

  • Multiple threads can use different instances of a vision tool object at the same time.
  • Multiple threads can use the same instance of a vision tool object at different times.
  • Multiple threads cannot use the same instance of a vision tool object at the same time.

You can use thread synchronization to prevent the unsupported case from occurring.