opencv_highgui creates new threads during static allocation
I use opencv 2.4.9, libusb 1.0.19. The class CvDC1394 is statically allocated by the library and calls dc1394_new() in its constructor. This in turn calls libusb_init(), which will do a pthread_create in newer versions of libusb-1.0 (1.0.19 certainly does that).
Our application routes some of the nonfatal posix signals to a specific thread so it can initiate a proper shutdown. Now I'm a bit at a loss on how I'm supposed to set up proper signal handling when a library creates threads during static initialization?
Thanks. Christoph