Can I control multiple ASI cameras under thread (pthread) programing using Linux SDK ?
Linux SDK v1.14.1227 / x64
UBUNTU 16.04 amd64 / gcc
ASI358MC and ASI294MC
- main flow of the viewer program:
initialize gain, exposure time, etc
The above viewer programs work fine for my 385MC and 294MC,
if the programs were executed as separate processes.
But if I execute above flow using pthread functions for each camera,
ASIGetVideoData() won't return.
Is this a supposed behavior of Linux ASI SDK?
Do I have to use fork() system call instead of pthread?
Even if I put mutex lock/unlock before and after ASIGetVideoData(),
the problem still occurs.