The Threading Model

The host application is expected to manage multiple PMX_ENGINE objects in order to perform concurrent scanning. The behavior when multiple threads share the same object is not defined.

There are two exceptions: The create_message() method may be called by any thread, and the PMX_MESSAGE object returned from it may be passed to a different PMX_ENGINE object. The create_hash() method may be called by any thread, and the PMX_HASH object returned from it may be passed to a different PMX_ENGINE object.