In general, the uEye API is thread-safe. This means that the uEye API can be accessed by multiple threads simultaneously. Simultaneous attempts to call the same function are recognized and prevented by the driver.

|
Note on using USB cameras under Windows
The following events require a Windows message loop. This message loop has to be executed by the thread that loads the uEye API. The message loop is usually provided by the application window. In some cases, the message loop might not be created automatically (e.g. in console applications). In this case you will need to implement the message loop yourself.
This applies to the following uEye events:
•IS_SET_EVENT_REMOVED •IS_SET_EVENT_REMOVAL •IS_SET_EVENT_DEVICE_RECONNECTED •IS_SET_EVENT_NEW_DEVICE If no message loop exists, a USB camera will not be automatically detected after reconnecting.
|
|