RecAPI
Multi-threading in RecAPI

RecAPI of the OmniPage Capture SDK is a thread-safe API starting from version 16 (supported on: Windows). This means that the API functions can be called from different threads at the same time on Windows.

If each thread uses a Settings Collection separated only for that thread, the thread-safeness is completely true. The same Settings Collection may be also used in different threads at the same time. However, when a value in a Settings Collection is changed in one thread, this new value appears in all the threads using the same Settings Collection. In this case, it is difficult to determine when the functions in the other threads notice this modification.

If this latter case poses a problem for the integrating application, there are two solutions:

The expression thread-safe does not mean all the CSDK elements can work simultaneously.

See also:
Settings Collections - General Operations Module
Settings Collections - Settings Manager Module